#989E2E#989E2E

#989E2E is a light, vivid yellow. Relative luminance 0.313; OKLCH L 67.4% C 0.132 H 112.5°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#989E2E
RGBrgb(152, 158, 46)
HSLhsl(63, 55%, 40%)
HSVhsv(63, 71%, 62%)
CMYKcmyk(3.8%, 0%, 70.9%, 38%)
CIE-LABlab(62.78, -16.39, 54.66)
CIE-LCHlch(62.78, 57.07, 106.69°)
OKLaboklab(67.35% -0.0504 0.1218)
OKLCHoklch(67.35% 0.132 112.5)
XYZxyz(25.6697, 31.3270, 7.2787)
Luminance0.3133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989E2E #342E9E
analogous
#9E6C2E #989E2E #609E2E
triadic
#989E2E #2E989E #9E2E98
tetradic
#989E2E #2E9E6C #342E9E #9E2E60
square
#989E2E #2E9E6C #342E9E #9E2E60
split-complementary
#989E2E #2E609E #6C2E9E
monochromatic
#3D3F12 #6A6F20 #989E2E #C1C841 #D0D671

Accessibility & contrast

On white

2.89
#989E2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#989E2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989E2E
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989E2E#FFFFFF#000000##000000
##989E2E1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #989e2e;
/* rgb */ color: rgb(152, 158, 46);
/* oklch */ color: oklch(67.4% 0.132 112.5);
Tailwind
colors: {
  custom: {
    50: '#b9ba6e',
    500: '#989e2e',
    950: '#000000',
  },
}
SCSS
$custom: #989e2e;
$custom-light: #b9ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#989e2e",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 46
  },
  "hsl": {
    "h": 63.214,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.67353,
    "c": 0.13175,
    "h": 112.5
  },
  "luminance": 0.31326
}

Semantic roles & 50–950 ramp

primary
#989E2E
secondary
#6F6BBD
accent
#4ADE52
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #989E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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