#898E1B#898E1B

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

Color values

HEX#898E1B
RGBrgb(137, 142, 27)
HSLhsl(63, 68%, 33%)
HSVhsv(63, 81%, 56%)
CMYKcmyk(3.5%, 0%, 81%, 44.3%)
CIE-LABlab(56.83, -15.58, 55.16)
CIE-LCHlch(56.83, 57.32, 105.77°)
OKLaboklab(62.25% -0.049 0.1199)
OKLCHoklch(62.25% 0.129 112.2)
XYZxyz(20.1881, 24.7440, 4.7493)
Luminance0.2474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898E1B #201B8E
analogous
#8E591B #898E1B #4F8E1B
triadic
#898E1B #1B898E #8E1B89
tetradic
#898E1B #1B8E59 #201B8E #8E1B4F
square
#898E1B #1B8E59 #201B8E #8E1B4F
split-complementary
#898E1B #1B4F8E #591B8E
monochromatic
#262707 #575B11 #898E1B #BBC125 #D6DC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #898e1b;
/* rgb */ color: rgb(137, 142, 27);
/* oklch */ color: oklch(62.2% 0.129 112.2);
Tailwind
colors: {
  custom: {
    50: '#afae63',
    500: '#898e1b',
    950: '#000000',
  },
}
SCSS
$custom: #898e1b;
$custom-light: #afae63;
$custom-dark: #000000;
JSON
{
  "hex": "#898e1b",
  "rgb": {
    "r": 137,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 62.609,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.62247,
    "c": 0.12948,
    "h": 112.2
  },
  "luminance": 0.24743
}

Semantic roles & 50–950 ramp

primary
#898E1B
secondary
#4C47BE
accent
#3DEB44
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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