#7F8819#7F8819

#7F8819 is a mid, vivid yellow. Relative luminance 0.222; OKLCH L 60.0% C 0.127 H 114.5°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7F8819
RGBrgb(127, 136, 25)
HSLhsl(65, 69%, 32%)
HSVhsv(65, 82%, 53%)
CMYKcmyk(6.6%, 0%, 81.6%, 46.7%)
CIE-LABlab(54.23, -17.01, 53.14)
CIE-LCHlch(54.23, 55.80, 107.75°)
OKLaboklab(59.96% -0.0526 0.1156)
OKLCHoklch(59.96% 0.127 114.5)
XYZxyz(17.7326, 22.1909, 4.2687)
Luminance0.2219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8819 #221988
analogous
#885A19 #7F8819 #488819
triadic
#7F8819 #197F88 #88197F
tetradic
#7F8819 #19885A #221988 #881948
square
#7F8819 #19885A #221988 #881948
split-complementary
#7F8819 #194888 #5A1988
monochromatic
#1E2106 #4F540F #7F8819 #AFBC23 #CFDC40

Accessibility & contrast

On white

3.86
#7F8819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#7F8819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8819
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8819#FFFFFF#000000##000000
##7F88191.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#928324
Tritanopia (blue-blind)
#887F74
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7f8819;
/* rgb */ color: rgb(127, 136, 25);
/* oklch */ color: oklch(60.0% 0.127 114.5);
Tailwind
colors: {
  custom: {
    50: '#a8aa61',
    500: '#7f8819',
    950: '#000000',
  },
}
SCSS
$custom: #7f8819;
$custom-light: #a8aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8819",
  "rgb": {
    "r": 127,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 64.865,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.59961,
    "c": 0.12697,
    "h": 114.5
  },
  "luminance": 0.22191
}

Semantic roles & 50–950 ramp

primary
#7F8819
secondary
#4B41BB
accent
#3CEC4A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7F8819

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

Preview Lab → · Contrast checker → · Palette generator →

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