#979F1E#979F1E

#979F1E is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.4% C 0.142 H 113.4°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#979F1E
RGBrgb(151, 159, 30)
HSLhsl(64, 68%, 37%)
HSVhsv(64, 81%, 62%)
CMYKcmyk(5%, 0%, 81.1%, 37.6%)
CIE-LABlab(62.90, -18.06, 60.08)
CIE-LCHlch(62.90, 62.74, 106.73°)
OKLaboklab(67.4% -0.0563 0.1304)
OKLCHoklch(67.4% 0.142 113.4)
XYZxyz(25.3958, 31.4699, 5.9645)
Luminance0.3147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979F1E #261E9F
analogous
#9F671E #979F1E #579F1E
triadic
#979F1E #1E979F #9F1E97
tetradic
#979F1E #1E9F67 #261E9F #9F1E57
square
#979F1E #1E9F67 #261E9F #9F1E57
split-complementary
#979F1E #1E579F #671E9F
monochromatic
#35380B #666C14 #979F1E #C8D228 #D7DF58

Accessibility & contrast

On white

2.88
#979F1E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#979F1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979F1E
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979F1E#FFFFFF#000000##000000
##979F1E1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AB992B
Tritanopia (blue-blind)
#A29588
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #979f1e;
/* rgb */ color: rgb(151, 159, 30);
/* oklch */ color: oklch(67.4% 0.142 113.4);
Tailwind
colors: {
  custom: {
    50: '#b9bb67',
    500: '#979f1e',
    950: '#000000',
  },
}
SCSS
$custom: #979f1e;
$custom-light: #b9bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#979f1e",
  "rgb": {
    "r": 151,
    "g": 159,
    "b": 30
  },
  "hsl": {
    "h": 63.721,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.67402,
    "c": 0.14203,
    "h": 113.4
  },
  "luminance": 0.31469
}

Semantic roles & 50–950 ramp

primary
#979F1E
secondary
#5C56C3
accent
#3DEB48
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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