#808227#808227

#808227 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.7% C 0.112 H 110.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#808227
RGBrgb(128, 130, 39)
HSLhsl(61, 54%, 33%)
HSVhsv(61, 70%, 51%)
CMYKcmyk(1.5%, 0%, 70%, 49%)
CIE-LABlab(52.62, -12.69, 46.66)
CIE-LCHlch(52.62, 48.36, 105.21°)
OKLaboklab(58.72% -0.0393 0.1044)
OKLCHoklch(58.72% 0.112 110.6)
XYZxyz(17.2515, 20.7014, 5.0061)
Luminance0.2070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808227 #292782
analogous
#825627 #808227 #528227
triadic
#808227 #278082 #822780
tetradic
#808227 #278256 #292782 #822752
square
#808227 #278256 #292782 #822752
split-complementary
#808227 #275282 #562782
monochromatic
#23240B #525319 #808227 #AEB135 #CACD57

Accessibility & contrast

On white

4.09
#808227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#808227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808227
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808227#FFFFFF#000000##000000
##8082271.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C19
Deuteranopia (green-blind)
#8D7F2D
Tritanopia (blue-blind)
#897A70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #808227;
/* rgb */ color: rgb(128, 130, 39);
/* oklch */ color: oklch(58.7% 0.112 110.6);
Tailwind
colors: {
  custom: {
    50: '#a8a667',
    500: '#808227',
    950: '#000000',
  },
}
SCSS
$custom: #808227;
$custom-light: #a8a667;
$custom-dark: #000000;
JSON
{
  "hex": "#808227",
  "rgb": {
    "r": 128,
    "g": 130,
    "b": 39
  },
  "hsl": {
    "h": 61.319,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5872,
    "c": 0.11157,
    "h": 110.6
  },
  "luminance": 0.20701
}

Semantic roles & 50–950 ramp

primary
#808227
secondary
#5553B1
accent
#4BDD4E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #808227

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

Preview Lab → · Contrast checker → · Palette generator →

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