#7F8419#7F8419

#7F8419 is a mid, vivid yellow. Relative luminance 0.211; OKLCH L 59.0% C 0.123 H 112.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7F8419
RGBrgb(127, 132, 25)
HSLhsl(63, 68%, 31%)
HSVhsv(63, 81%, 52%)
CMYKcmyk(3.8%, 0%, 81.1%, 48.2%)
CIE-LABlab(53.04, -14.90, 52.09)
CIE-LCHlch(53.04, 54.18, 105.96°)
OKLaboklab(59.01% -0.0467 0.1133)
OKLCHoklch(59.01% 0.123 112.4)
XYZxyz(17.1797, 21.0852, 4.0844)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8419 #1E1984
analogous
#845319 #7F8419 #498419
triadic
#7F8419 #197F84 #84197F
tetradic
#7F8419 #198453 #1E1984 #841949
square
#7F8419 #198453 #1E1984 #841949
split-complementary
#7F8419 #194984 #531984
monochromatic
#1C1D06 #4D510F #7F8419 #B1B723 #D3DA3D

Accessibility & contrast

On white

4.03
#7F8419 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#7F8419 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8419
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8419#FFFFFF#000000##000000
##7F84191.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#8F8023
Tritanopia (blue-blind)
#887B70
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7f8419;
/* rgb */ color: rgb(127, 132, 25);
/* oklch */ color: oklch(59.0% 0.123 112.4);
Tailwind
colors: {
  custom: {
    50: '#a7a761',
    500: '#7f8419',
    950: '#000000',
  },
}
SCSS
$custom: #7f8419;
$custom-light: #a7a761;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8419",
  "rgb": {
    "r": 127,
    "g": 132,
    "b": 25
  },
  "hsl": {
    "h": 62.804,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.59009,
    "c": 0.12258,
    "h": 112.4
  },
  "luminance": 0.21085
}

Semantic roles & 50–950 ramp

primary
#7F8419
secondary
#4741B8
accent
#3DEB45
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7F8419

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

Preview Lab → · Contrast checker → · Palette generator →

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