#989E2F#989E2F

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

Color values

HEX#989E2F
RGBrgb(152, 158, 47)
HSLhsl(63, 54%, 40%)
HSVhsv(63, 70%, 62%)
CMYKcmyk(3.8%, 0%, 70.3%, 38%)
CIE-LABlab(62.79, -16.33, 54.29)
CIE-LCHlch(62.79, 56.69, 106.74°)
OKLaboklab(67.36% -0.0501 0.1211)
OKLCHoklch(67.36% 0.131 112.5)
XYZxyz(25.6896, 31.3349, 7.3837)
Luminance0.3133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989E2F #352F9E
analogous
#9E6C2F #989E2F #619E2F
triadic
#989E2F #2F989E #9E2F98
tetradic
#989E2F #2F9E6C #352F9E #9E2F61
square
#989E2F #2F9E6C #352F9E #9E2F61
split-complementary
#989E2F #2F619E #6C2F9E
monochromatic
#3D4013 #6B6F21 #989E2F #C0C743 #D0D572

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989E2F#FFFFFF#000000##000000
##989E2F1.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)
#AA971D
Deuteranopia (green-blind)
#AA9937
Tritanopia (blue-blind)
#A29488
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989e2f;
/* rgb */ color: rgb(152, 158, 47);
/* oklch */ color: oklch(67.4% 0.131 112.5);
Tailwind
colors: {
  custom: {
    50: '#b9ba6f',
    500: '#989e2f',
    950: '#000000',
  },
}
SCSS
$custom: #989e2f;
$custom-light: #b9ba6f;
$custom-dark: #000000;
JSON
{
  "hex": "#989e2f",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 63.243,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.67361,
    "c": 0.13109,
    "h": 112.5
  },
  "luminance": 0.31334
}

Semantic roles & 50–950 ramp

primary
#989E2F
secondary
#706CBD
accent
#4ADE52
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #989E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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