#898A1E#898A1E

#898A1E is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.3% C 0.124 H 110.1°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#898A1E
RGBrgb(137, 138, 30)
HSLhsl(61, 64%, 33%)
HSVhsv(61, 78%, 54%)
CMYKcmyk(0.7%, 0%, 78.3%, 45.9%)
CIE-LABlab(55.67, -13.34, 53.19)
CIE-LCHlch(55.67, 54.84, 104.08°)
OKLaboklab(61.33% -0.0425 0.1162)
OKLCHoklch(61.33% 0.124 110.1)
XYZxyz(19.6401, 23.5896, 4.7467)
Luminance0.2359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898A1E #1F1E8A
analogous
#8A551E #898A1E #538A1E
triadic
#898A1E #1E898A #8A1E89
tetradic
#898A1E #1E8A55 #1F1E8A #8A1E53
square
#898A1E #1E8A55 #1F1E8A #8A1E53
split-complementary
#898A1E #1E538A #551E8A
monochromatic
#252508 #575813 #898A1E #BBBC29 #D6D84B

Accessibility & contrast

On white

3.67
#898A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#898A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898A1E
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898A1E#FFFFFF#000000##000000
##898A1E1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968402
Deuteranopia (green-blind)
#978727
Tritanopia (blue-blind)
#938176
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #898a1e;
/* rgb */ color: rgb(137, 138, 30);
/* oklch */ color: oklch(61.3% 0.124 110.1);
Tailwind
colors: {
  custom: {
    50: '#afab64',
    500: '#898a1e',
    950: '#000000',
  },
}
SCSS
$custom: #898a1e;
$custom-light: #afab64;
$custom-dark: #000000;
JSON
{
  "hex": "#898a1e",
  "rgb": {
    "r": 137,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 60.556,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61331,
    "c": 0.12375,
    "h": 110.1
  },
  "luminance": 0.23589
}

Semantic roles & 50–950 ramp

primary
#898A1E
secondary
#4B4ABA
accent
#41E742
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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