#898E1E#898E1E

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

Color values

HEX#898E1E
RGBrgb(137, 142, 30)
HSLhsl(63, 65%, 34%)
HSVhsv(63, 79%, 56%)
CMYKcmyk(3.5%, 0%, 78.9%, 44.3%)
CIE-LABlab(56.84, -15.46, 54.25)
CIE-LCHlch(56.84, 56.41, 105.91°)
OKLaboklab(62.26% -0.0484 0.1185)
OKLCHoklch(62.26% 0.128 112.2)
XYZxyz(20.2246, 24.7586, 4.9416)
Luminance0.2476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898E1E #231E8E
analogous
#8E5B1E #898E1E #518E1E
triadic
#898E1E #1E898E #8E1E89
tetradic
#898E1E #1E8E5B #231E8E #8E1E51
square
#898E1E #1E8E5B #231E8E #8E1E51
split-complementary
#898E1E #1E518E #5B1E8E
monochromatic
#282909 #585B13 #898E1E #BAC129 #D3D94D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898E1E#FFFFFF#000000##000000
##898E1E1.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)
#9A8A28
Tritanopia (blue-blind)
#938579
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #898e1e;
/* rgb */ color: rgb(137, 142, 30);
/* oklch */ color: oklch(62.3% 0.128 112.2);
Tailwind
colors: {
  custom: {
    50: '#afae64',
    500: '#898e1e',
    950: '#000000',
  },
}
SCSS
$custom: #898e1e;
$custom-light: #afae64;
$custom-dark: #000000;
JSON
{
  "hex": "#898e1e",
  "rgb": {
    "r": 137,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 62.679,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.62263,
    "c": 0.12798,
    "h": 112.2
  },
  "luminance": 0.24758
}

Semantic roles & 50–950 ramp

primary
#898E1E
secondary
#514CBC
accent
#40E847
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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