#979E2D#979E2D

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

Color values

HEX#979E2D
RGBrgb(151, 158, 45)
HSLhsl(64, 56%, 40%)
HSVhsv(64, 72%, 62%)
CMYKcmyk(4.4%, 0%, 71.5%, 38%)
CIE-LABlab(62.70, -16.88, 54.93)
CIE-LCHlch(62.70, 57.46, 107.08°)
OKLaboklab(67.26% -0.0518 0.1222)
OKLCHoklch(67.26% 0.133 113)
XYZxyz(25.4638, 31.2230, 7.1674)
Luminance0.3122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979E2D #342D9E
analogous
#9E6D2D #979E2D #5E9E2D
triadic
#979E2D #2D979E #9E2D97
tetradic
#979E2D #2D9E6D #342D9E #9E2D5E
square
#979E2D #2D9E6D #342D9E #9E2D5E
split-complementary
#979E2D #2D5E9E #6D2D9E
monochromatic
#3C3F12 #696E1F #979E2D #C0C940 #D0D66F

Accessibility & contrast

On white

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

On black

7.24
#979E2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979E2D
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979E2D#FFFFFF#000000##000000
##979E2D1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #979e2d;
/* rgb */ color: rgb(151, 158, 45);
/* oklch */ color: oklch(67.3% 0.133 113.0);
Tailwind
colors: {
  custom: {
    50: '#b9ba6e',
    500: '#979e2d',
    950: '#000000',
  },
}
SCSS
$custom: #979e2d;
$custom-light: #b9ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#979e2d",
  "rgb": {
    "r": 151,
    "g": 158,
    "b": 45
  },
  "hsl": {
    "h": 63.717,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67261,
    "c": 0.13268,
    "h": 113
  },
  "luminance": 0.31222
}

Semantic roles & 50–950 ramp

primary
#979E2D
secondary
#6F69BD
accent
#49DF52
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #979E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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