#898E2D#898E2D

#898E2D is a light, moderate yellow. Relative luminance 0.249; OKLCH L 62.4% C 0.118 H 112.2°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#898E2D
RGBrgb(137, 142, 45)
HSLhsl(63, 52%, 37%)
HSVhsv(63, 68%, 56%)
CMYKcmyk(3.5%, 0%, 68.3%, 44.3%)
CIE-LABlab(56.93, -14.69, 48.80)
CIE-LCHlch(56.93, 50.96, 106.75°)
OKLaboklab(62.37% -0.0448 0.1097)
OKLCHoklch(62.37% 0.118 112.2)
XYZxyz(20.4638, 24.8543, 6.2015)
Luminance0.2485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898E2D #322D8E
analogous
#8E632D #898E2D #598E2D
triadic
#898E2D #2D898E #8E2D89
tetradic
#898E2D #2D8E63 #322D8E #8E2D59
square
#898E2D #2D8E63 #322D8E #8E2D59
split-complementary
#898E2D #2D598E #632D8E
monochromatic
#2F3110 #5C601E #898E2D #B6BC3C #C9CF67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898E2D#FFFFFF#000000##000000
##898E2D1.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)
#99871F
Deuteranopia (green-blind)
#998A34
Tritanopia (blue-blind)
#92857A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #898e2d;
/* rgb */ color: rgb(137, 142, 45);
/* oklch */ color: oklch(62.4% 0.118 112.2);
Tailwind
colors: {
  custom: {
    50: '#aeae6c',
    500: '#898e2d',
    950: '#000000',
  },
}
SCSS
$custom: #898e2d;
$custom-light: #aeae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#898e2d",
  "rgb": {
    "r": 137,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 63.093,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62368,
    "c": 0.11848,
    "h": 112.2
  },
  "luminance": 0.24854
}

Semantic roles & 50–950 ramp

primary
#898E2D
secondary
#6661B5
accent
#4CDB54
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #898E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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