#898F20#898F20

#898F20 is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.5% C 0.128 H 112.7°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#898F20
RGBrgb(137, 143, 32)
HSLhsl(63, 63%, 34%)
HSVhsv(63, 78%, 56%)
CMYKcmyk(4.2%, 0%, 77.6%, 43.9%)
CIE-LABlab(57.14, -15.90, 53.87)
CIE-LCHlch(57.14, 56.17, 106.44°)
OKLaboklab(62.51% -0.0495 0.118)
OKLCHoklch(62.51% 0.128 112.7)
XYZxyz(20.4004, 25.0680, 5.1302)
Luminance0.2507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898F20 #26208F
analogous
#8F5E20 #898F20 #528F20
triadic
#898F20 #20898F #8F2089
tetradic
#898F20 #208F5E #26208F #8F2052
square
#898F20 #208F5E #26208F #8F2052
split-complementary
#898F20 #20528F #5E208F
monochromatic
#292B0A #595D15 #898F20 #B9C12B #D1D851

Accessibility & contrast

On white

3.49
#898F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#898F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898F20
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898F20#FFFFFF#000000##000000
##898F201.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8803
Deuteranopia (green-blind)
#9A8A2A
Tritanopia (blue-blind)
#93867A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #898f20;
/* rgb */ color: rgb(137, 143, 32);
/* oklch */ color: oklch(62.5% 0.128 112.7);
Tailwind
colors: {
  custom: {
    50: '#afaf65',
    500: '#898f20',
    950: '#000000',
  },
}
SCSS
$custom: #898f20;
$custom-light: #afaf65;
$custom-dark: #000000;
JSON
{
  "hex": "#898f20",
  "rgb": {
    "r": 137,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 63.243,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.62508,
    "c": 0.12799,
    "h": 112.7
  },
  "luminance": 0.25068
}

Semantic roles & 50–950 ramp

primary
#898F20
secondary
#554FBB
accent
#41E64A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898F20

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

Preview Lab → · Contrast checker → · Palette generator →

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