#7F7719#7F7719

#7F7719 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.0% C 0.109 H 104.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7F7719
RGBrgb(127, 119, 25)
HSLhsl(55, 67%, 30%)
HSVhsv(55, 80%, 50%)
CMYKcmyk(0%, 6.3%, 80.3%, 50.2%)
CIE-LABlab(49.22, -7.82, 48.66)
CIE-LCHlch(49.22, 49.29, 99.13°)
OKLaboklab(55.96% -0.027 0.106)
OKLCHoklch(55.96% 0.109 104.3)
XYZxyz(15.5254, 17.7765, 3.5329)
Luminance0.1778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7719 #19217F
analogous
#7F4419 #7F7719 #547F19
triadic
#7F7719 #197F77 #77197F
tetradic
#7F7719 #197F44 #19217F #7F1954
square
#7F7719 #197F44 #19217F #7F1954
split-complementary
#7F7719 #19547F #44197F
monochromatic
#1A1805 #4C470F #7F7719 #B2A723 #D8CC3A

Accessibility & contrast

On white

4.61
#7F7719 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#7F7719 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7719
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7719#FFFFFF#000000##FFFFFF
##7F77191.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827302
Deuteranopia (green-blind)
#857721
Tritanopia (blue-blind)
#896E66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7f7719;
/* rgb */ color: rgb(127, 119, 25);
/* oklch */ color: oklch(56.0% 0.109 104.3);
Tailwind
colors: {
  custom: {
    50: '#a89d5f',
    500: '#7f7719',
    950: '#000000',
  },
}
SCSS
$custom: #7f7719;
$custom-light: #a89d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7719",
  "rgb": {
    "r": 127,
    "g": 119,
    "b": 25
  },
  "hsl": {
    "h": 55.294,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5596,
    "c": 0.10939,
    "h": 104.3
  },
  "luminance": 0.17776
}

Semantic roles & 50–950 ramp

primary
#7F7719
secondary
#414AB3
accent
#4BEA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7F7719

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

Preview Lab → · Contrast checker → · Palette generator →

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