#979E1E#979E1E

#979E1E is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.2% C 0.141 H 112.9°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#979E1E
RGBrgb(151, 158, 30)
HSLhsl(63, 68%, 37%)
HSVhsv(63, 81%, 62%)
CMYKcmyk(4.4%, 0%, 81%, 38%)
CIE-LABlab(62.62, -17.54, 59.83)
CIE-LCHlch(62.62, 62.35, 106.34°)
OKLaboklab(67.17% -0.0549 0.1298)
OKLCHoklch(67.17% 0.141 112.9)
XYZxyz(25.2245, 31.1274, 5.9075)
Luminance0.3113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979E1E #251E9E
analogous
#9E651E #979E1E #579E1E
triadic
#979E1E #1E979E #9E1E97
tetradic
#979E1E #1E9E65 #251E9E #9E1E57
square
#979E1E #1E9E65 #251E9E #9E1E57
split-complementary
#979E1E #1E579E #651E9E
monochromatic
#35370A #666B14 #979E1E #C8D128 #D8DF57

Accessibility & contrast

On white

2.91
#979E1E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#979E1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979E1E
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979E1E#FFFFFF#000000##000000
##979E1E1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AB992A
Tritanopia (blue-blind)
#A29487
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #979e1e;
/* rgb */ color: rgb(151, 158, 30);
/* oklch */ color: oklch(67.2% 0.141 112.9);
Tailwind
colors: {
  custom: {
    50: '#b9ba67',
    500: '#979e1e',
    950: '#000000',
  },
}
SCSS
$custom: #979e1e;
$custom-light: #b9ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#979e1e",
  "rgb": {
    "r": 151,
    "g": 158,
    "b": 30
  },
  "hsl": {
    "h": 63.281,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.67171,
    "c": 0.14098,
    "h": 112.9
  },
  "luminance": 0.31127
}

Semantic roles & 50–950 ramp

primary
#979E1E
secondary
#5B55C3
accent
#3DEB46
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979E1E

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

Preview Lab → · Contrast checker → · Palette generator →

#979E1E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva