#7F6919#7F6919

#7F6919 is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.8% C 0.098 H 92.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7F6919
RGBrgb(127, 105, 25)
HSLhsl(47, 67%, 30%)
HSVhsv(47, 80%, 50%)
CMYKcmyk(0%, 17.3%, 80.3%, 50.2%)
CIE-LABlab(45.20, 0.13, 44.99)
CIE-LCHlch(45.20, 44.99, 89.83°)
OKLaboklab(52.77% -0.0045 0.0981)
OKLCHoklch(52.77% 0.098 92.6)
XYZxyz(13.9802, 14.6862, 3.0179)
Luminance0.1469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6919 #192F7F
analogous
#7F3619 #7F6919 #627F19
triadic
#7F6919 #197F69 #69197F
tetradic
#7F6919 #197F36 #192F7F #7F1962
square
#7F6919 #197F36 #192F7F #7F1962
split-complementary
#7F6919 #19627F #36197F
monochromatic
#1A1505 #4C3F0F #7F6919 #B29323 #D8B63A

Accessibility & contrast

On white

5.33
#7F6919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#7F6919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6919
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6919#FFFFFF#000000##FFFFFF
##7F69191.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756709
Deuteranopia (green-blind)
#7B6E1E
Tritanopia (blue-blind)
#8A605A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7f6919;
/* rgb */ color: rgb(127, 105, 25);
/* oklch */ color: oklch(52.8% 0.098 92.6);
Tailwind
colors: {
  custom: {
    50: '#a8935d',
    500: '#7f6919',
    950: '#000000',
  },
}
SCSS
$custom: #7f6919;
$custom-light: #a8935d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6919",
  "rgb": {
    "r": 127,
    "g": 105,
    "b": 25
  },
  "hsl": {
    "h": 47.059,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52771,
    "c": 0.09824,
    "h": 92.6
  },
  "luminance": 0.14685
}

Semantic roles & 50–950 ramp

primary
#7F6919
secondary
#4159B3
accent
#63EA3E
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7F6919

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7F6919 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva