#7F7419#7F7419

#7F7419 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.3% C 0.107 H 102.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7F7419
RGBrgb(127, 116, 25)
HSLhsl(54, 67%, 30%)
HSVhsv(54, 80%, 50%)
CMYKcmyk(0%, 8.7%, 80.3%, 50.2%)
CIE-LABlab(48.35, -6.14, 47.88)
CIE-LCHlch(48.35, 48.27, 97.31°)
OKLaboklab(55.27% -0.0223 0.1043)
OKLCHoklch(55.27% 0.107 102.1)
XYZxyz(15.1740, 17.0737, 3.4158)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7419 #19247F
analogous
#7F4119 #7F7419 #577F19
triadic
#7F7419 #197F74 #74197F
tetradic
#7F7419 #197F41 #19247F #7F1957
square
#7F7419 #197F41 #19247F #7F1957
split-complementary
#7F7419 #19577F #41197F
monochromatic
#1A1705 #4C450F #7F7419 #B2A323 #D8C73A

Accessibility & contrast

On white

4.76
#7F7419 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7F7419 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7419
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7419#FFFFFF#000000##FFFFFF
##7F74191.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807003
Deuteranopia (green-blind)
#837520
Tritanopia (blue-blind)
#896B63
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7f7419;
/* rgb */ color: rgb(127, 116, 25);
/* oklch */ color: oklch(55.3% 0.107 102.1);
Tailwind
colors: {
  custom: {
    50: '#a89b5e',
    500: '#7f7419',
    950: '#000000',
  },
}
SCSS
$custom: #7f7419;
$custom-light: #a89b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7419",
  "rgb": {
    "r": 127,
    "g": 116,
    "b": 25
  },
  "hsl": {
    "h": 53.529,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55268,
    "c": 0.10667,
    "h": 102.1
  },
  "luminance": 0.17073
}

Semantic roles & 50–950 ramp

primary
#7F7419
secondary
#414DB3
accent
#50EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7F7419

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

Preview Lab → · Contrast checker → · Palette generator →

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