#7F7219#7F7219

#7F7219 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.8% C 0.105 H 100.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7F7219
RGBrgb(127, 114, 25)
HSLhsl(52, 67%, 30%)
HSVhsv(52, 80%, 50%)
CMYKcmyk(0%, 10.2%, 80.3%, 50.2%)
CIE-LABlab(47.77, -5.01, 47.35)
CIE-LCHlch(47.77, 47.61, 96.04°)
OKLaboklab(54.81% -0.0191 0.1032)
OKLCHoklch(54.81% 0.105 100.5)
XYZxyz(14.9459, 16.6176, 3.3398)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7219 #19267F
analogous
#7F3F19 #7F7219 #597F19
triadic
#7F7219 #197F72 #72197F
tetradic
#7F7219 #197F3F #19267F #7F1959
square
#7F7219 #197F3F #19267F #7F1959
split-complementary
#7F7219 #19597F #3F197F
monochromatic
#1A1705 #4C440F #7F7219 #B2A023 #D8C43A

Accessibility & contrast

On white

4.86
#7F7219 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7F7219 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7219
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7219#FFFFFF#000000##FFFFFF
##7F72191.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F04
Deuteranopia (green-blind)
#817420
Tritanopia (blue-blind)
#896961
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7f7219;
/* rgb */ color: rgb(127, 114, 25);
/* oklch */ color: oklch(54.8% 0.105 100.5);
Tailwind
colors: {
  custom: {
    50: '#a89a5e',
    500: '#7f7219',
    950: '#000000',
  },
}
SCSS
$custom: #7f7219;
$custom-light: #a89a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7219",
  "rgb": {
    "r": 127,
    "g": 114,
    "b": 25
  },
  "hsl": {
    "h": 52.353,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54808,
    "c": 0.10494,
    "h": 100.5
  },
  "luminance": 0.16617
}

Semantic roles & 50–950 ramp

primary
#7F7219
secondary
#414FB3
accent
#54EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7F7219

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

Preview Lab → · Contrast checker → · Palette generator →

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