#898D2D#898D2D

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

Color values

HEX#898D2D
RGBrgb(137, 141, 45)
HSLhsl(63, 52%, 36%)
HSVhsv(63, 68%, 55%)
CMYKcmyk(2.8%, 0%, 68.1%, 44.7%)
CIE-LABlab(56.64, -14.16, 48.50)
CIE-LCHlch(56.64, 50.53, 106.28°)
OKLaboklab(62.14% -0.0433 0.1091)
OKLCHoklch(62.14% 0.117 111.7)
XYZxyz(20.3157, 24.5581, 6.1521)
Luminance0.2456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898D2D #312D8D
analogous
#8D612D #898D2D #598D2D
triadic
#898D2D #2D898D #8D2D89
tetradic
#898D2D #2D8D61 #312D8D #8D2D59
square
#898D2D #2D8D61 #312D8D #8D2D59
split-complementary
#898D2D #2D598D #612D8D
monochromatic
#2F300F #5C5F1E #898D2D #B6BB3C #CACE66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898D2D#FFFFFF#000000##000000
##898D2D1.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)
#98871F
Deuteranopia (green-blind)
#988934
Tritanopia (blue-blind)
#92847A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #898d2d;
/* rgb */ color: rgb(137, 141, 45);
/* oklch */ color: oklch(62.1% 0.117 111.7);
Tailwind
colors: {
  custom: {
    50: '#aeae6c',
    500: '#898d2d',
    950: '#000000',
  },
}
SCSS
$custom: #898d2d;
$custom-light: #aeae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#898d2d",
  "rgb": {
    "r": 137,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 62.5,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62135,
    "c": 0.11735,
    "h": 111.7
  },
  "luminance": 0.24558
}

Semantic roles & 50–950 ramp

primary
#898D2D
secondary
#6461B5
accent
#4DDB53
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #898D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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