#979E2E#979E2E

#979E2E is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.3% C 0.132 H 113.0°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#979E2E
RGBrgb(151, 158, 46)
HSLhsl(64, 55%, 40%)
HSVhsv(64, 71%, 62%)
CMYKcmyk(4.4%, 0%, 70.9%, 38%)
CIE-LABlab(62.70, -16.82, 54.56)
CIE-LCHlch(62.70, 57.09, 107.14°)
OKLaboklab(67.27% -0.0515 0.1216)
OKLCHoklch(67.27% 0.132 113)
XYZxyz(25.4833, 31.2308, 7.2700)
Luminance0.3123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979E2E #352E9E
analogous
#9E6D2E #979E2E #5F9E2E
triadic
#979E2E #2E979E #9E2E97
tetradic
#979E2E #2E9E6D #352E9E #9E2E5F
square
#979E2E #2E9E6D #352E9E #9E2E5F
split-complementary
#979E2E #2E5F9E #6D2E9E
monochromatic
#3C3F12 #6A6F20 #979E2E #BFC841 #CFD671

Accessibility & contrast

On white

2.90
#979E2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#979E2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979E2E
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979E2E#FFFFFF#000000##000000
##979E2E1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA961B
Deuteranopia (green-blind)
#AA9936
Tritanopia (blue-blind)
#A19488
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #979e2e;
/* rgb */ color: rgb(151, 158, 46);
/* oklch */ color: oklch(67.3% 0.132 113.0);
Tailwind
colors: {
  custom: {
    50: '#b9ba6e',
    500: '#979e2e',
    950: '#000000',
  },
}
SCSS
$custom: #979e2e;
$custom-light: #b9ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#979e2e",
  "rgb": {
    "r": 151,
    "g": 158,
    "b": 46
  },
  "hsl": {
    "h": 63.75,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.67269,
    "c": 0.13202,
    "h": 113
  },
  "luminance": 0.3123
}

Semantic roles & 50–950 ramp

primary
#979E2E
secondary
#706BBD
accent
#4ADE53
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #979E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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