#898F2B#898F2B

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

Color values

HEX#898F2B
RGBrgb(137, 143, 43)
HSLhsl(64, 54%, 36%)
HSVhsv(64, 70%, 56%)
CMYKcmyk(4.2%, 0%, 69.9%, 43.9%)
CIE-LABlab(57.21, -15.34, 49.89)
CIE-LCHlch(57.21, 52.20, 107.09°)
OKLaboklab(62.59% -0.0468 0.1116)
OKLCHoklch(62.59% 0.121 112.8)
XYZxyz(20.5756, 25.1382, 6.0533)
Luminance0.2514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898F2B #312B8F
analogous
#8F632B #898F2B #578F2B
triadic
#898F2B #2B898F #8F2B89
tetradic
#898F2B #2B8F63 #312B8F #8F2B57
square
#898F2B #2B8F63 #312B8F #8F2B57
split-complementary
#898F2B #2B578F #632B8F
monochromatic
#2F310F #5C601D #898F2B #B6BE39 #CAD064

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898F2B#FFFFFF#000000##000000
##898F2B1.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)
#9A881B
Deuteranopia (green-blind)
#9A8A32
Tritanopia (blue-blind)
#92867B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #898f2b;
/* rgb */ color: rgb(137, 143, 43);
/* oklch */ color: oklch(62.6% 0.121 112.8);
Tailwind
colors: {
  custom: {
    50: '#aeaf6b',
    500: '#898f2b',
    950: '#000000',
  },
}
SCSS
$custom: #898f2b;
$custom-light: #aeaf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#898f2b",
  "rgb": {
    "r": 137,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 63.6,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62585,
    "c": 0.12107,
    "h": 112.8
  },
  "luminance": 0.25138
}

Semantic roles & 50–950 ramp

primary
#898F2B
secondary
#645FB7
accent
#4BDD53
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #898F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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