#898E2A#898E2A

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

Color values

HEX#898E2A
RGBrgb(137, 142, 42)
HSLhsl(63, 54%, 36%)
HSVhsv(63, 70%, 56%)
CMYKcmyk(3.5%, 0%, 70.4%, 44.3%)
CIE-LABlab(56.91, -14.87, 49.99)
CIE-LCHlch(56.91, 52.16, 106.56°)
OKLaboklab(62.34% -0.0456 0.1117)
OKLCHoklch(62.34% 0.121 112.2)
XYZxyz(20.4081, 24.8320, 5.9080)
Luminance0.2483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898E2A #2F2A8E
analogous
#8E612A #898E2A #578E2A
triadic
#898E2A #2A898E #8E2A89
tetradic
#898E2A #2A8E61 #2F2A8E #8E2A57
square
#898E2A #2A8E61 #2F2A8E #8E2A57
split-complementary
#898E2A #2A578E #612A8E
monochromatic
#2E300E #5B5F1C #898E2A #B7BD38 #CBD162

Accessibility & contrast

On white

3.52
#898E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#898E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898E2A
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898E2A#FFFFFF#000000##000000
##898E2A1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#99871A
Deuteranopia (green-blind)
#998A31
Tritanopia (blue-blind)
#92857A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #898e2a;
/* rgb */ color: rgb(137, 142, 42);
/* oklch */ color: oklch(62.3% 0.121 112.2);
Tailwind
colors: {
  custom: {
    50: '#aeae6a',
    500: '#898e2a',
    950: '#000000',
  },
}
SCSS
$custom: #898e2a;
$custom-light: #aeae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#898e2a",
  "rgb": {
    "r": 137,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 63,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62343,
    "c": 0.12065,
    "h": 112.2
  },
  "luminance": 0.24832
}

Semantic roles & 50–950 ramp

primary
#898E2A
secondary
#625DB6
accent
#4ADE51
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #898E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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