#898C1E#898C1E

#898C1E is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.8% C 0.126 H 111.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#898C1E
RGBrgb(137, 140, 30)
HSLhsl(62, 65%, 33%)
HSVhsv(62, 79%, 55%)
CMYKcmyk(2.1%, 0%, 78.6%, 45.1%)
CIE-LABlab(56.26, -14.40, 53.72)
CIE-LCHlch(56.26, 55.61, 105.01°)
OKLaboklab(61.8% -0.0455 0.1173)
OKLCHoklch(61.8% 0.126 111.2)
XYZxyz(19.9297, 24.1688, 4.8433)
Luminance0.2417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898C1E #211E8C
analogous
#8C581E #898C1E #528C1E
triadic
#898C1E #1E898C #8C1E89
tetradic
#898C1E #1E8C58 #211E8C #8C1E52
square
#898C1E #1E8C58 #211E8C #8C1E52
split-complementary
#898C1E #1E528C #581E8C
monochromatic
#262708 #585A13 #898C1E #BABE29 #D5D94C

Accessibility & contrast

On white

3.60
#898C1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#898C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898C1E
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898C1E#FFFFFF#000000##000000
##898C1E1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#988828
Tritanopia (blue-blind)
#938378
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #898c1e;
/* rgb */ color: rgb(137, 140, 30);
/* oklch */ color: oklch(61.8% 0.126 111.2);
Tailwind
colors: {
  custom: {
    50: '#afad64',
    500: '#898c1e',
    950: '#000000',
  },
}
SCSS
$custom: #898c1e;
$custom-light: #afad64;
$custom-dark: #000000;
JSON
{
  "hex": "#898c1e",
  "rgb": {
    "r": 137,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 61.636,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61796,
    "c": 0.12585,
    "h": 111.2
  },
  "luminance": 0.24168
}

Semantic roles & 50–950 ramp

primary
#898C1E
secondary
#4E4BBB
accent
#40E845
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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