#899228#899228

#899228 is a light, vivid yellow. Relative luminance 0.260; OKLCH L 63.3% C 0.127 H 114.3°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#899228
RGBrgb(137, 146, 40)
HSLhsl(65, 57%, 36%)
HSVhsv(65, 73%, 57%)
CMYKcmyk(6.2%, 0%, 72.6%, 42.7%)
CIE-LABlab(58.07, -17.08, 51.90)
CIE-LCHlch(58.07, 54.64, 108.21°)
OKLaboklab(63.26% -0.052 0.1154)
OKLCHoklch(63.26% 0.127 114.3)
XYZxyz(20.9790, 26.0297, 5.9262)
Luminance0.2603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#899228 #312892
analogous
#926628 #899228 #549228
triadic
#899228 #288992 #922889
tetradic
#899228 #289266 #312892 #922854
square
#899228 #289266 #312892 #922854
split-complementary
#899228 #285492 #662892
monochromatic
#2F320E #5C621B #899228 #B6C235 #CAD461

Accessibility & contrast

On white

3.38
#899228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#899228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #899228
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##899228#FFFFFF#000000##000000
##8992281.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B15
Deuteranopia (green-blind)
#9C8D30
Tritanopia (blue-blind)
#92897D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #899228;
/* rgb */ color: rgb(137, 146, 40);
/* oklch */ color: oklch(63.3% 0.127 114.3);
Tailwind
colors: {
  custom: {
    50: '#aeb16a',
    500: '#899228',
    950: '#000000',
  },
}
SCSS
$custom: #899228;
$custom-light: #aeb16a;
$custom-dark: #000000;
JSON
{
  "hex": "#899228",
  "rgb": {
    "r": 137,
    "g": 146,
    "b": 40
  },
  "hsl": {
    "h": 65.094,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.63263,
    "c": 0.12653,
    "h": 114.3
  },
  "luminance": 0.26029
}

Semantic roles & 50–950 ramp

primary
#899228
secondary
#645DB9
accent
#48E055
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #899228

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

Preview Lab → · Contrast checker → · Palette generator →

#899228 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva