#898D2B#898D2B

#898D2B is a light, moderate yellow. Relative luminance 0.245; OKLCH L 62.1% C 0.119 H 111.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#898D2B
RGBrgb(137, 141, 43)
HSLhsl(62, 53%, 36%)
HSVhsv(62, 70%, 55%)
CMYKcmyk(2.8%, 0%, 69.5%, 44.7%)
CIE-LABlab(56.63, -14.28, 49.31)
CIE-LCHlch(56.63, 51.33, 106.15°)
OKLaboklab(62.12% -0.0439 0.1104)
OKLCHoklch(62.12% 0.119 111.7)
XYZxyz(20.2781, 24.5430, 5.9541)
Luminance0.2454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898D2B #2F2B8D
analogous
#8D602B #898D2B #588D2B
triadic
#898D2B #2B898D #8D2B89
tetradic
#898D2B #2B8D60 #2F2B8D #8D2B58
square
#898D2B #2B8D60 #2F2B8D #8D2B58
split-complementary
#898D2B #2B588D #602B8D
monochromatic
#2E2F0E #5B5E1D #898D2B #B7BC39 #CBCF63

Accessibility & contrast

On white

3.55
#898D2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#898D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898D2B
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898D2B#FFFFFF#000000##000000
##898D2B1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#98871C
Deuteranopia (green-blind)
#988932
Tritanopia (blue-blind)
#928479
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #898d2b;
/* rgb */ color: rgb(137, 141, 43);
/* oklch */ color: oklch(62.1% 0.119 111.7);
Tailwind
colors: {
  custom: {
    50: '#aeae6b',
    500: '#898d2b',
    950: '#000000',
  },
}
SCSS
$custom: #898d2b;
$custom-light: #aeae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#898d2b",
  "rgb": {
    "r": 137,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 62.449,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62119,
    "c": 0.11881,
    "h": 111.7
  },
  "luminance": 0.24543
}

Semantic roles & 50–950 ramp

primary
#898D2B
secondary
#625EB6
accent
#4BDD51
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #898D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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