#989A2E#989A2E

#989A2E 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#989A2E
RGBrgb(152, 154, 46)
HSLhsl(61, 54%, 39%)
HSVhsv(61, 70%, 60%)
CMYKcmyk(1.3%, 0%, 70.1%, 39.6%)
CIE-LABlab(61.64, -14.31, 53.53)
CIE-LCHlch(61.64, 55.41, 104.96°)
OKLaboklab(66.44% -0.0445 0.1194)
OKLCHoklch(66.44% 0.127 110.5)
XYZxyz(24.9985, 29.9845, 7.0550)
Luminance0.2998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989A2E #302E9A
analogous
#9A662E #989A2E #629A2E
triadic
#989A2E #2E989A #9A2E98
tetradic
#989A2E #2E9A66 #302E9A #9A2E62
square
#989A2E #2E9A66 #302E9A #9A2E62
split-complementary
#989A2E #2E629A #662E9A
monochromatic
#3B3C12 #696B20 #989A2E #C3C63F #D2D46F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989A2E#FFFFFF#000000##000000
##989A2E1.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)
#A6931D
Deuteranopia (green-blind)
#A79636
Tritanopia (blue-blind)
#A39085
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #989a2e;
/* rgb */ color: rgb(152, 154, 46);
/* oklch */ color: oklch(66.4% 0.127 110.5);
Tailwind
colors: {
  custom: {
    50: '#b9b76e',
    500: '#989a2e',
    950: '#000000',
  },
}
SCSS
$custom: #989a2e;
$custom-light: #b9b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#989a2e",
  "rgb": {
    "r": 152,
    "g": 154,
    "b": 46
  },
  "hsl": {
    "h": 61.111,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.6644,
    "c": 0.12741,
    "h": 110.5
  },
  "luminance": 0.29984
}

Semantic roles & 50–950 ramp

primary
#989A2E
secondary
#6A69BB
accent
#4ADD4D
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #989A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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