#989E1F#989E1F

#989E1F is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.3% C 0.140 H 112.5°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#989E1F
RGBrgb(152, 158, 31)
HSLhsl(63, 67%, 37%)
HSVhsv(63, 80%, 62%)
CMYKcmyk(3.8%, 0%, 80.4%, 38%)
CIE-LABlab(62.70, -17.07, 59.65)
CIE-LCHlch(62.70, 62.04, 105.97°)
OKLaboklab(67.26% -0.0536 0.1296)
OKLCHoklch(67.26% 0.14 112.5)
XYZxyz(25.4239, 31.2287, 5.9845)
Luminance0.3123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989E1F #251F9E
analogous
#9E651F #989E1F #589E1F
triadic
#989E1F #1F989E #9E1F98
tetradic
#989E1F #1F9E65 #251F9E #9E1F58
square
#989E1F #1F9E65 #251F9E #9E1F58
split-complementary
#989E1F #1F589E #651F9E
monochromatic
#36380B #676B15 #989E1F #C9D129 #D8DE59

Accessibility & contrast

On white

2.90
#989E1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#989E1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989E1F
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989E1F#FFFFFF#000000##000000
##989E1F1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#AB992B
Tritanopia (blue-blind)
#A39487
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989e1f;
/* rgb */ color: rgb(152, 158, 31);
/* oklch */ color: oklch(67.3% 0.140 112.5);
Tailwind
colors: {
  custom: {
    50: '#baba67',
    500: '#989e1f',
    950: '#000000',
  },
}
SCSS
$custom: #989e1f;
$custom-light: #baba67;
$custom-dark: #000000;
JSON
{
  "hex": "#989e1f",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 31
  },
  "hsl": {
    "h": 62.835,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.67261,
    "c": 0.14023,
    "h": 112.5
  },
  "luminance": 0.31228
}

Semantic roles & 50–950 ramp

primary
#989E1F
secondary
#5C56C2
accent
#3EEA46
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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