#7F8607

A color in the Yellow, Gold family

#7f8607 is a color in the Yellow, Gold family: RGB(127, 134, 7), HSL(63°, 90%, 28%), CMYK(5%, 0%, 95%, 47%). Closest named color: olive. Contrast is 3.95:1 on white and 5.32:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#7f8607
RGBrgb(127 134 7)
RGB (legacy)rgb(127, 134, 7)
RGB %rgb(50% 53% 3%)
HSLhsl(63 90% 28%)
HSV / HSBhsv(63, 95%, 53%)
HWBhwb(63 3% 47%)
CMYKcmyk(5%, 0%, 95%, 47%)
CIELAB (D50)lab(53.84 -12.84 55.96)
LCHlch(53.84 57.42 102.92)
OKLaboklab(0.5942 -0.0521 0.1203)
OKLCHoklch(0.5942 0.1311 113.42)
Decimal8357383

Properties

Color ToneYellow, Gold
Closest named colorolive ΔE 1.6
Closest web-safe color#669900
Hue63°
Saturation (HSL / HSV)90% / 95%
Lightness (HSL)28%
Brightness or Value (HSV)53%
Luminance (Rec.601 / Rec.709)46% / 48%
Relative luminance (WCAG)0.2158
Red / Green / Blue127 / 134 / 7

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.95:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.32:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 66.7 / -34.9 · As background with white / black text: Lc -72.2 / 37.4

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #7f8607;
  --color-brand-oklch: oklch(59.42% 0.1311 113.42);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(127 134 7 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7f8607] text-[#7f8607] border-[#7f8607]">