#898E1A#898E1A

#898E1A is a light, vivid yellow. Relative luminance 0.247; OKLCH L 62.2% C 0.130 H 112.2°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#898E1A
RGBrgb(137, 142, 26)
HSLhsl(63, 69%, 33%)
HSVhsv(63, 82%, 56%)
CMYKcmyk(3.5%, 0%, 81.7%, 44.3%)
CIE-LABlab(56.82, -15.61, 55.45)
CIE-LCHlch(56.82, 57.60, 105.73°)
OKLaboklab(62.24% -0.0492 0.1203)
OKLCHoklch(62.24% 0.13 112.2)
XYZxyz(20.1767, 24.7395, 4.6894)
Luminance0.2474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898E1A #1F1A8E
analogous
#8E591A #898E1A #4F8E1A
triadic
#898E1A #1A898E #8E1A89
tetradic
#898E1A #1A8E59 #1F1A8E #8E1A4F
square
#898E1A #1A8E59 #1F1A8E #8E1A4F
split-complementary
#898E1A #1A4F8E #591A8E
monochromatic
#252707 #575A11 #898E1A #BBC223 #D6DD45

Accessibility & contrast

On white

3.53
#898E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#898E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898E1A
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898E1A#FFFFFF#000000##000000
##898E1A1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#9A8A25
Tritanopia (blue-blind)
#938579
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #898e1a;
/* rgb */ color: rgb(137, 142, 26);
/* oklch */ color: oklch(62.2% 0.130 112.2);
Tailwind
colors: {
  custom: {
    50: '#afae63',
    500: '#898e1a',
    950: '#000000',
  },
}
SCSS
$custom: #898e1a;
$custom-light: #afae63;
$custom-dark: #000000;
JSON
{
  "hex": "#898e1a",
  "rgb": {
    "r": 137,
    "g": 142,
    "b": 26
  },
  "hsl": {
    "h": 62.586,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.62242,
    "c": 0.12995,
    "h": 112.2
  },
  "luminance": 0.24739
}

Semantic roles & 50–950 ramp

primary
#898E1A
secondary
#4B45BE
accent
#3CEC44
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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