#898F2D#898F2D

#898F2D is a light, moderate yellow. Relative luminance 0.252; OKLCH L 62.6% C 0.120 H 112.8°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#898F2D
RGBrgb(137, 143, 45)
HSLhsl(64, 52%, 37%)
HSVhsv(64, 69%, 56%)
CMYKcmyk(4.2%, 0%, 68.5%, 43.9%)
CIE-LABlab(57.22, -15.22, 49.09)
CIE-LCHlch(57.22, 51.40, 107.22°)
OKLaboklab(62.6% -0.0463 0.1103)
OKLCHoklch(62.6% 0.12 112.8)
XYZxyz(20.6132, 25.1532, 6.2513)
Luminance0.2515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898F2D #332D8F
analogous
#8F642D #898F2D #588F2D
triadic
#898F2D #2D898F #8F2D89
tetradic
#898F2D #2D8F64 #332D8F #8F2D58
square
#898F2D #2D8F64 #332D8F #8F2D58
split-complementary
#898F2D #2D588F #642D8F
monochromatic
#303210 #5C601E #898F2D #B6BE3C #C9CF67

Accessibility & contrast

On white

3.48
#898F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#898F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898F2D
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898F2D#FFFFFF#000000##000000
##898F2D1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A881F
Deuteranopia (green-blind)
#9A8A34
Tritanopia (blue-blind)
#92867B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #898f2d;
/* rgb */ color: rgb(137, 143, 45);
/* oklch */ color: oklch(62.6% 0.120 112.8);
Tailwind
colors: {
  custom: {
    50: '#aeaf6c',
    500: '#898f2d',
    950: '#000000',
  },
}
SCSS
$custom: #898f2d;
$custom-light: #aeaf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#898f2d",
  "rgb": {
    "r": 137,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 63.673,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62601,
    "c": 0.11963,
    "h": 112.8
  },
  "luminance": 0.25153
}

Semantic roles & 50–950 ramp

primary
#898F2D
secondary
#6762B6
accent
#4CDC55
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #898F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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