#7F7919#7F7919

#7F7919 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.4% C 0.111 H 105.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7F7919
RGBrgb(127, 121, 25)
HSLhsl(56, 67%, 30%)
HSVhsv(56, 80%, 50%)
CMYKcmyk(0%, 4.7%, 80.3%, 50.2%)
CIE-LABlab(49.81, -8.93, 49.19)
CIE-LCHlch(49.81, 49.99, 100.29°)
OKLaboklab(56.43% -0.0301 0.1071)
OKLCHoklch(56.43% 0.111 105.7)
XYZxyz(15.7659, 18.2576, 3.6131)
Luminance0.1826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7919 #191F7F
analogous
#7F4619 #7F7919 #527F19
triadic
#7F7919 #197F79 #79197F
tetradic
#7F7919 #197F46 #191F7F #7F1952
square
#7F7919 #197F46 #191F7F #7F1952
split-complementary
#7F7919 #19527F #46197F
monochromatic
#1A1805 #4C480F #7F7919 #B2AA23 #D8CF3A

Accessibility & contrast

On white

4.51
#7F7919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7F7919 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7919
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7919#FFFFFF#000000##000000
##7F79191.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#847401
Deuteranopia (green-blind)
#867821
Tritanopia (blue-blind)
#897067
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7f7919;
/* rgb */ color: rgb(127, 121, 25);
/* oklch */ color: oklch(56.4% 0.111 105.7);
Tailwind
colors: {
  custom: {
    50: '#a89f5f',
    500: '#7f7919',
    950: '#000000',
  },
}
SCSS
$custom: #7f7919;
$custom-light: #a89f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7919",
  "rgb": {
    "r": 127,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 56.471,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56425,
    "c": 0.11127,
    "h": 105.7
  },
  "luminance": 0.18257
}

Semantic roles & 50–950 ramp

primary
#7F7919
secondary
#4147B3
accent
#48EA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7F7919

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

Preview Lab → · Contrast checker → · Palette generator →

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