#898F2A#898F2A

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

Color values

HEX#898F2A
RGBrgb(137, 143, 42)
HSLhsl(64, 55%, 36%)
HSVhsv(64, 71%, 56%)
CMYKcmyk(4.2%, 0%, 70.6%, 43.9%)
CIE-LABlab(57.20, -15.40, 50.28)
CIE-LCHlch(57.20, 52.59, 107.02°)
OKLaboklab(62.58% -0.0471 0.1123)
OKLCHoklch(62.58% 0.122 112.8)
XYZxyz(20.5575, 25.1309, 5.9579)
Luminance0.2513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898F2A #302A8F
analogous
#8F632A #898F2A #578F2A
triadic
#898F2A #2A898F #8F2A89
tetradic
#898F2A #2A8F63 #302A8F #8F2A57
square
#898F2A #2A8F63 #302A8F #8F2A57
split-complementary
#898F2A #2A578F #632A8F
monochromatic
#2E300E #5C601C #898F2A #B6BE38 #CAD162

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898F2A#FFFFFF#000000##000000
##898F2A1.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)
#9A881A
Deuteranopia (green-blind)
#9A8A31
Tritanopia (blue-blind)
#92867B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #898f2a;
/* rgb */ color: rgb(137, 143, 42);
/* oklch */ color: oklch(62.6% 0.122 112.8);
Tailwind
colors: {
  custom: {
    50: '#aeaf6a',
    500: '#898f2a',
    950: '#000000',
  },
}
SCSS
$custom: #898f2a;
$custom-light: #aeaf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#898f2a",
  "rgb": {
    "r": 137,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 63.564,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62577,
    "c": 0.12177,
    "h": 112.8
  },
  "luminance": 0.2513
}

Semantic roles & 50–950 ramp

primary
#898F2A
secondary
#635EB7
accent
#4ADE53
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #898F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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