#809228#809228

#809228 is a light, vivid yellow-green. Relative luminance 0.253; OKLCH L 62.5% C 0.130 H 118.8°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#809228
RGBrgb(128, 146, 40)
HSLhsl(70, 57%, 36%)
HSVhsv(70, 73%, 57%)
CMYKcmyk(12.3%, 0%, 72.6%, 42.7%)
CIE-LABlab(57.37, -21.02, 50.98)
CIE-LCHlch(57.37, 55.15, 112.40°)
OKLaboklab(62.53% -0.0624 0.1137)
OKLCHoklch(62.53% 0.13 118.8)
XYZxyz(19.5644, 25.3003, 5.8599)
Luminance0.2530 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#809228 #3A2892
analogous
#926F28 #809228 #4B9228
triadic
#809228 #288092 #922880
tetradic
#809228 #28926F #3A2892 #92284B
square
#809228 #28926F #3A2892 #92284B
split-complementary
#809228 #284B92 #6F2892
monochromatic
#2C320E #56621B #809228 #AAC235 #C0D461

Accessibility & contrast

On white

3.47
#809228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#809228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #809228
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##809228#FFFFFF#000000##000000
##8092281.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A15
Deuteranopia (green-blind)
#9A8A31
Tritanopia (blue-blind)
#888A7D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #809228;
/* rgb */ color: rgb(128, 146, 40);
/* oklch */ color: oklch(62.5% 0.130 118.8);
Tailwind
colors: {
  custom: {
    50: '#a8b269',
    500: '#809228',
    950: '#000000',
  },
}
SCSS
$custom: #809228;
$custom-light: #a8b269;
$custom-dark: #000000;
JSON
{
  "hex": "#809228",
  "rgb": {
    "r": 128,
    "g": 146,
    "b": 40
  },
  "hsl": {
    "h": 70.189,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62528,
    "c": 0.12969,
    "h": 118.8
  },
  "luminance": 0.253
}

Semantic roles & 50–950 ramp

primary
#809228
secondary
#6C5DB9
accent
#48E061
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #809228

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

Preview Lab → · Contrast checker → · Palette generator →

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