#898E2B#898E2B

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

Color values

HEX#898E2B
RGBrgb(137, 142, 43)
HSLhsl(63, 54%, 36%)
HSVhsv(63, 70%, 56%)
CMYKcmyk(3.5%, 0%, 69.7%, 44.3%)
CIE-LABlab(56.92, -14.81, 49.60)
CIE-LCHlch(56.92, 51.76, 106.63°)
OKLaboklab(62.35% -0.0454 0.111)
OKLCHoklch(62.35% 0.12 112.2)
XYZxyz(20.4262, 24.8393, 6.0035)
Luminance0.2484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898E2B #302B8E
analogous
#8E622B #898E2B #588E2B
triadic
#898E2B #2B898E #8E2B89
tetradic
#898E2B #2B8E62 #302B8E #8E2B58
square
#898E2B #2B8E62 #302B8E #8E2B58
split-complementary
#898E2B #2B588E #622B8E
monochromatic
#2E300F #5C5F1D #898E2B #B6BD39 #CAD063

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898E2B#FFFFFF#000000##000000
##898E2B1.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)
#99871C
Deuteranopia (green-blind)
#998A32
Tritanopia (blue-blind)
#92857A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #898e2b;
/* rgb */ color: rgb(137, 142, 43);
/* oklch */ color: oklch(62.4% 0.120 112.2);
Tailwind
colors: {
  custom: {
    50: '#aeae6b',
    500: '#898e2b',
    950: '#000000',
  },
}
SCSS
$custom: #898e2b;
$custom-light: #aeae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#898e2b",
  "rgb": {
    "r": 137,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 63.03,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62351,
    "c": 0.11993,
    "h": 112.2
  },
  "luminance": 0.24839
}

Semantic roles & 50–950 ramp

primary
#898E2B
secondary
#635FB6
accent
#4BDD52
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #898E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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