#898F22#898F22

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

Color values

HEX#898F22
RGBrgb(137, 143, 34)
HSLhsl(63, 62%, 35%)
HSVhsv(63, 76%, 56%)
CMYKcmyk(4.2%, 0%, 76.2%, 43.9%)
CIE-LABlab(57.15, -15.81, 53.20)
CIE-LCHlch(57.15, 55.50, 106.55°)
OKLaboklab(62.52% -0.049 0.117)
OKLCHoklch(62.52% 0.127 112.7)
XYZxyz(20.4284, 25.0793, 5.2777)
Luminance0.2508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898F22 #28228F
analogous
#8F5F22 #898F22 #528F22
triadic
#898F22 #22898F #8F2289
tetradic
#898F22 #228F5F #28228F #8F2252
square
#898F22 #228F5F #28228F #8F2252
split-complementary
#898F22 #22528F #5F228F
monochromatic
#2A2C0A #5A5E16 #898F22 #B8C02E #CFD755

Accessibility & contrast

On white

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

On black

6.02
#898F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #898F22
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898F22#FFFFFF#000000##000000
##898F221.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #898f22;
/* rgb */ color: rgb(137, 143, 34);
/* oklch */ color: oklch(62.5% 0.127 112.7);
Tailwind
colors: {
  custom: {
    50: '#afaf66',
    500: '#898f22',
    950: '#000000',
  },
}
SCSS
$custom: #898f22;
$custom-light: #afaf66;
$custom-dark: #000000;
JSON
{
  "hex": "#898f22",
  "rgb": {
    "r": 137,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 63.303,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.6252,
    "c": 0.12686,
    "h": 112.7
  },
  "luminance": 0.25079
}

Semantic roles & 50–950 ramp

primary
#898F22
secondary
#5852BA
accent
#43E54C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #898F22

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

Preview Lab → · Contrast checker → · Palette generator →

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