#989A2F#989A2F

#989A2F is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.4% C 0.127 H 110.5°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#989A2F
RGBrgb(152, 154, 47)
HSLhsl(61, 53%, 39%)
HSVhsv(61, 69%, 60%)
CMYKcmyk(1.3%, 0%, 69.5%, 39.6%)
CIE-LABlab(61.65, -14.25, 53.15)
CIE-LCHlch(61.65, 55.03, 105.01°)
OKLaboklab(66.45% -0.0443 0.1187)
OKLCHoklch(66.45% 0.127 110.5)
XYZxyz(25.0184, 29.9925, 7.1600)
Luminance0.2999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989A2F #312F9A
analogous
#9A662F #989A2F #639A2F
triadic
#989A2F #2F989A #9A2F98
tetradic
#989A2F #2F9A66 #312F9A #9A2F63
square
#989A2F #2F9A66 #312F9A #9A2F63
split-complementary
#989A2F #2F639A #662F9A
monochromatic
#3B3C12 #6A6B21 #989A2F #C3C541 #D2D370

Accessibility & contrast

On white

3.00
#989A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#989A2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989A2F
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989A2F#FFFFFF#000000##000000
##989A2F1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931E
Deuteranopia (green-blind)
#A79637
Tritanopia (blue-blind)
#A39085
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #989a2f;
/* rgb */ color: rgb(152, 154, 47);
/* oklch */ color: oklch(66.4% 0.127 110.5);
Tailwind
colors: {
  custom: {
    50: '#b9b76e',
    500: '#989a2f',
    950: '#000000',
  },
}
SCSS
$custom: #989a2f;
$custom-light: #b9b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#989a2f",
  "rgb": {
    "r": 152,
    "g": 154,
    "b": 47
  },
  "hsl": {
    "h": 61.121,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66448,
    "c": 0.12672,
    "h": 110.5
  },
  "luminance": 0.29992
}

Semantic roles & 50–950 ramp

primary
#989A2F
secondary
#6B6ABB
accent
#4BDD4E
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #989A2F

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

Preview Lab → · Contrast checker → · Palette generator →

#989A2F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva