#898E31#898E31

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

Color values

HEX#898E31
RGBrgb(137, 142, 49)
HSLhsl(63, 49%, 37%)
HSVhsv(63, 65%, 56%)
CMYKcmyk(3.5%, 0%, 65.5%, 44.3%)
CIE-LABlab(56.96, -14.43, 47.13)
CIE-LCHlch(56.96, 49.29, 107.03°)
OKLaboklab(62.4% -0.0437 0.1068)
OKLCHoklch(62.4% 0.115 112.2)
XYZxyz(20.5445, 24.8866, 6.6265)
Luminance0.2489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898E31 #36318E
analogous
#8E6531 #898E31 #5A8E31
triadic
#898E31 #31898E #8E3189
tetradic
#898E31 #318E65 #36318E #8E315A
square
#898E31 #318E65 #36318E #8E315A
split-complementary
#898E31 #315A8E #65318E
monochromatic
#313312 #5D6121 #898E31 #B5BB41 #C7CD6D

Accessibility & contrast

On white

3.51
#898E31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#898E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898E31
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898E31#FFFFFF#000000##000000
##898E311.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#998825
Deuteranopia (green-blind)
#998A37
Tritanopia (blue-blind)
#92867B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #898e31;
/* rgb */ color: rgb(137, 142, 49);
/* oklch */ color: oklch(62.4% 0.115 112.2);
Tailwind
colors: {
  custom: {
    50: '#aeae6e',
    500: '#898e31',
    950: '#000000',
  },
}
SCSS
$custom: #898e31;
$custom-light: #aeae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#898e31",
  "rgb": {
    "r": 137,
    "g": 142,
    "b": 49
  },
  "hsl": {
    "h": 63.226,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62403,
    "c": 0.11539,
    "h": 112.2
  },
  "luminance": 0.24886
}

Semantic roles & 50–950 ramp

primary
#898E31
secondary
#6B67B4
accent
#50D857
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #898E31

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

Preview Lab → · Contrast checker → · Palette generator →

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