#898E1D#898E1D

#898E1D is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.3% C 0.128 H 112.2°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#898E1D
RGBrgb(137, 142, 29)
HSLhsl(63, 66%, 34%)
HSVhsv(63, 80%, 56%)
CMYKcmyk(3.5%, 0%, 79.6%, 44.3%)
CIE-LABlab(56.83, -15.50, 54.56)
CIE-LCHlch(56.83, 56.72, 105.86°)
OKLaboklab(62.26% -0.0486 0.1189)
OKLCHoklch(62.26% 0.128 112.2)
XYZxyz(20.2120, 24.7536, 4.8754)
Luminance0.2475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898E1D #221D8E
analogous
#8E5A1D #898E1D #508E1D
triadic
#898E1D #1D898E #8E1D89
tetradic
#898E1D #1D8E5A #221D8E #8E1D50
square
#898E1D #1D8E5A #221D8E #8E1D50
split-complementary
#898E1D #1D508E #5A1D8E
monochromatic
#272808 #585B13 #898E1D #BAC127 #D4DA4B

Accessibility & contrast

On white

3.53
#898E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#898E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898E1D
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898E1D#FFFFFF#000000##000000
##898E1D1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#9A8A27
Tritanopia (blue-blind)
#938579
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #898e1d;
/* rgb */ color: rgb(137, 142, 29);
/* oklch */ color: oklch(62.3% 0.128 112.2);
Tailwind
colors: {
  custom: {
    50: '#afae64',
    500: '#898e1d',
    950: '#000000',
  },
}
SCSS
$custom: #898e1d;
$custom-light: #afae64;
$custom-dark: #000000;
JSON
{
  "hex": "#898e1d",
  "rgb": {
    "r": 137,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 62.655,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.62257,
    "c": 0.12849,
    "h": 112.2
  },
  "luminance": 0.24753
}

Semantic roles & 50–950 ramp

primary
#898E1D
secondary
#4F4ABD
accent
#3FE946
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898E1D

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

Preview Lab → · Contrast checker → · Palette generator →

#898E1D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva