#989B2E#989B2E

#989B2E is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.7% C 0.128 H 111.0°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#989B2E
RGBrgb(152, 155, 46)
HSLhsl(62, 54%, 39%)
HSVhsv(62, 70%, 61%)
CMYKcmyk(1.9%, 0%, 70.3%, 39.2%)
CIE-LABlab(61.93, -14.83, 53.82)
CIE-LCHlch(61.93, 55.82, 105.41°)
OKLaboklab(66.67% -0.046 0.12)
OKLCHoklch(66.67% 0.128 111)
XYZxyz(25.1642, 30.3160, 7.1102)
Luminance0.3031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989B2E #312E9B
analogous
#9B672E #989B2E #629B2E
triadic
#989B2E #2E989B #9B2E98
tetradic
#989B2E #2E9B67 #312E9B #9B2E62
square
#989B2E #2E9B67 #312E9B #9B2E62
split-complementary
#989B2E #2E629B #672E9B
monochromatic
#3B3D12 #6A6C20 #989B2E #C3C640 #D2D46F

Accessibility & contrast

On white

2.97
#989B2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#989B2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989B2E
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989B2E#FFFFFF#000000##000000
##989B2E1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941C
Deuteranopia (green-blind)
#A89736
Tritanopia (blue-blind)
#A39185
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #989b2e;
/* rgb */ color: rgb(152, 155, 46);
/* oklch */ color: oklch(66.7% 0.128 111.0);
Tailwind
colors: {
  custom: {
    50: '#b9b86e',
    500: '#989b2e',
    950: '#000000',
  },
}
SCSS
$custom: #989b2e;
$custom-light: #b9b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#989b2e",
  "rgb": {
    "r": 152,
    "g": 155,
    "b": 46
  },
  "hsl": {
    "h": 61.651,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66668,
    "c": 0.12848,
    "h": 111
  },
  "luminance": 0.30315
}

Semantic roles & 50–950 ramp

primary
#989B2E
secondary
#6B69BC
accent
#4ADE4E
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #989B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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