#989F2E#989F2E

#989F2E is a light, vivid yellow. Relative luminance 0.317; OKLCH L 67.6% C 0.133 H 112.9°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#989F2E
RGBrgb(152, 159, 46)
HSLhsl(64, 55%, 40%)
HSVhsv(64, 71%, 62%)
CMYKcmyk(4.4%, 0%, 71.1%, 37.6%)
CIE-LABlab(63.07, -16.90, 54.94)
CIE-LCHlch(63.07, 57.48, 107.10°)
OKLaboklab(67.58% -0.0518 0.1223)
OKLCHoklch(67.58% 0.133 112.9)
XYZxyz(25.8409, 31.6695, 7.3358)
Luminance0.3167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989F2E #352E9F
analogous
#9F6E2E #989F2E #5F9F2E
triadic
#989F2E #2E989F #9F2E98
tetradic
#989F2E #2E9F6E #352E9F #9F2E5F
square
#989F2E #2E9F6E #352E9F #9F2E5F
split-complementary
#989F2E #2E5F9F #6E2E9F
monochromatic
#3D4013 #6B7020 #989F2E #C0C842 #D0D671

Accessibility & contrast

On white

2.86
#989F2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#989F2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989F2E
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989F2E#FFFFFF#000000##000000
##989F2E1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #989f2e;
/* rgb */ color: rgb(152, 159, 46);
/* oklch */ color: oklch(67.6% 0.133 112.9);
Tailwind
colors: {
  custom: {
    50: '#b9bb6e',
    500: '#989f2e',
    950: '#000000',
  },
}
SCSS
$custom: #989f2e;
$custom-light: #b9bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#989f2e",
  "rgb": {
    "r": 152,
    "g": 159,
    "b": 46
  },
  "hsl": {
    "h": 63.717,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.67582,
    "c": 0.13285,
    "h": 112.9
  },
  "luminance": 0.31669
}

Semantic roles & 50–950 ramp

primary
#989F2E
secondary
#706BBE
accent
#49DE53
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #989F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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