#979F2E#979F2E

#979F2E is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.5% C 0.133 H 113.4°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#979F2E
RGBrgb(151, 159, 46)
HSLhsl(64, 55%, 40%)
HSVhsv(64, 71%, 62%)
CMYKcmyk(5%, 0%, 71.1%, 37.6%)
CIE-LABlab(62.99, -17.34, 54.84)
CIE-LCHlch(62.99, 57.51, 107.55°)
OKLaboklab(67.5% -0.053 0.1222)
OKLCHoklch(67.5% 0.133 113.4)
XYZxyz(25.6545, 31.5734, 7.3271)
Luminance0.3157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979F2E #362E9F
analogous
#9F6F2E #979F2E #5E9F2E
triadic
#979F2E #2E979F #9F2E97
tetradic
#979F2E #2E9F6F #362E9F #9F2E5E
square
#979F2E #2E9F6F #362E9F #9F2E5E
split-complementary
#979F2E #2E5E9F #6F2E9F
monochromatic
#3D4013 #6A7020 #979F2E #BFC842 #CFD671

Accessibility & contrast

On white

2.87
#979F2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#979F2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979F2E
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979F2E#FFFFFF#000000##000000
##979F2E1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB971B
Deuteranopia (green-blind)
#AB9A37
Tritanopia (blue-blind)
#A19589
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #979f2e;
/* rgb */ color: rgb(151, 159, 46);
/* oklch */ color: oklch(67.5% 0.133 113.4);
Tailwind
colors: {
  custom: {
    50: '#b9bb6e',
    500: '#979f2e',
    950: '#000000',
  },
}
SCSS
$custom: #979f2e;
$custom-light: #b9bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#979f2e",
  "rgb": {
    "r": 151,
    "g": 159,
    "b": 46
  },
  "hsl": {
    "h": 64.248,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.67498,
    "c": 0.13314,
    "h": 113.4
  },
  "luminance": 0.31573
}

Semantic roles & 50–950 ramp

primary
#979F2E
secondary
#716BBE
accent
#49DE54
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #979F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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