#807227#807227

#807227 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 55.0% C 0.095 H 98.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#807227
RGBrgb(128, 114, 39)
HSLhsl(51, 53%, 33%)
HSVhsv(51, 70%, 50%)
CMYKcmyk(0%, 10.9%, 69.5%, 49.8%)
CIE-LABlab(47.97, -3.82, 41.92)
CIE-LCHlch(47.97, 42.09, 95.21°)
OKLaboklab(55.02% -0.0142 0.0944)
OKLCHoklch(55.02% 0.095 98.6)
XYZxyz(15.2863, 16.7710, 4.3510)
Luminance0.1677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807227 #273580
analogous
#804627 #807227 #618027
triadic
#807227 #278072 #722780
tetradic
#807227 #278046 #273580 #802761
square
#807227 #278046 #273580 #802761
split-complementary
#807227 #276180 #462780
monochromatic
#221E0A #514819 #807227 #AF9C35 #CBB956

Accessibility & contrast

On white

4.82
#807227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#807227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #807227
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807227#FFFFFF#000000##FFFFFF
##8072271.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1D
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#8A6A63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #807227;
/* rgb */ color: rgb(128, 114, 39);
/* oklch */ color: oklch(55.0% 0.095 98.6);
Tailwind
colors: {
  custom: {
    50: '#a89a65',
    500: '#807227',
    950: '#000000',
  },
}
SCSS
$custom: #807227;
$custom-light: #a89a65;
$custom-dark: #000000;
JSON
{
  "hex": "#807227",
  "rgb": {
    "r": 128,
    "g": 114,
    "b": 39
  },
  "hsl": {
    "h": 50.562,
    "s": 53.293,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55018,
    "c": 0.09547,
    "h": 98.6
  },
  "luminance": 0.1677
}

Semantic roles & 50–950 ramp

primary
#807227
secondary
#5361B0
accent
#62DD4B
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #807227

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

Preview Lab → · Contrast checker → · Palette generator →

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