#979B2E#979B2E

#979B2E is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.6% C 0.129 H 111.5°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#979B2E
RGBrgb(151, 155, 46)
HSLhsl(62, 54%, 39%)
HSVhsv(62, 70%, 61%)
CMYKcmyk(2.6%, 0%, 70.3%, 39.2%)
CIE-LABlab(61.84, -15.27, 53.71)
CIE-LCHlch(61.84, 55.84, 105.87°)
OKLaboklab(66.58% -0.0472 0.1198)
OKLCHoklch(66.58% 0.129 111.5)
XYZxyz(24.9778, 30.2199, 7.1015)
Luminance0.3022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979B2E #322E9B
analogous
#9B692E #979B2E #619B2E
triadic
#979B2E #2E979B #9B2E97
tetradic
#979B2E #2E9B69 #322E9B #9B2E61
square
#979B2E #2E9B69 #322E9B #9B2E61
split-complementary
#979B2E #2E619B #692E9B
monochromatic
#3B3D12 #696C20 #979B2E #C1C640 #D1D46F

Accessibility & contrast

On white

2.98
#979B2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#979B2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979B2E
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979B2E#FFFFFF#000000##000000
##979B2E1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941C
Deuteranopia (green-blind)
#A89736
Tritanopia (blue-blind)
#A19185
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #979b2e;
/* rgb */ color: rgb(151, 155, 46);
/* oklch */ color: oklch(66.6% 0.129 111.5);
Tailwind
colors: {
  custom: {
    50: '#b9b86e',
    500: '#979b2e',
    950: '#000000',
  },
}
SCSS
$custom: #979b2e;
$custom-light: #b9b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#979b2e",
  "rgb": {
    "r": 151,
    "g": 155,
    "b": 46
  },
  "hsl": {
    "h": 62.202,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66582,
    "c": 0.12872,
    "h": 111.5
  },
  "luminance": 0.30219
}

Semantic roles & 50–950 ramp

primary
#979B2E
secondary
#6C69BC
accent
#4ADE50
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #979B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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