#898E20#898E20

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

Color values

HEX#898E20
RGBrgb(137, 142, 32)
HSLhsl(63, 63%, 34%)
HSVhsv(63, 77%, 56%)
CMYKcmyk(3.5%, 0%, 77.5%, 44.3%)
CIE-LABlab(56.85, -15.37, 53.60)
CIE-LCHlch(56.85, 55.76, 106.00°)
OKLaboklab(62.28% -0.048 0.1175)
OKLCHoklch(62.28% 0.127 112.2)
XYZxyz(20.2509, 24.7691, 5.0804)
Luminance0.2477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898E20 #25208E
analogous
#8E5C20 #898E20 #528E20
triadic
#898E20 #20898E #8E2089
tetradic
#898E20 #208E5C #25208E #8E2052
square
#898E20 #208E5C #25208E #8E2052
split-complementary
#898E20 #20528E #5C208E
monochromatic
#292A09 #595C15 #898E20 #B9C02B #D2D851

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##898E20#FFFFFF#000000##000000
##898E201.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)
#998704
Deuteranopia (green-blind)
#9A8A29
Tritanopia (blue-blind)
#938579
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #898e20;
/* rgb */ color: rgb(137, 142, 32);
/* oklch */ color: oklch(62.3% 0.127 112.2);
Tailwind
colors: {
  custom: {
    50: '#afae65',
    500: '#898e20',
    950: '#000000',
  },
}
SCSS
$custom: #898e20;
$custom-light: #afae65;
$custom-dark: #000000;
JSON
{
  "hex": "#898e20",
  "rgb": {
    "r": 137,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 62.727,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.62275,
    "c": 0.1269,
    "h": 112.2
  },
  "luminance": 0.24769
}

Semantic roles & 50–950 ramp

primary
#898E20
secondary
#544FBB
accent
#42E649
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898E20

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

Preview Lab → · Contrast checker → · Palette generator →

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