#807228#807228

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

Color values

HEX#807228
RGBrgb(128, 114, 40)
HSLhsl(50, 52%, 33%)
HSVhsv(50, 69%, 50%)
CMYKcmyk(0%, 10.9%, 68.8%, 49.8%)
CIE-LABlab(47.98, -3.76, 41.47)
CIE-LCHlch(47.98, 41.64, 95.18°)
OKLaboklab(55.03% -0.0139 0.0936)
OKLCHoklch(55.03% 0.095 98.5)
XYZxyz(15.3031, 16.7777, 4.4394)
Luminance0.1678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807228 #283680
analogous
#804628 #807228 #628028
triadic
#807228 #288072 #722880
tetradic
#807228 #288046 #283680 #802862
square
#807228 #288046 #283680 #802862
split-complementary
#807228 #286280 #462880
monochromatic
#231F0B #514819 #807228 #AF9C37 #CBB858

Accessibility & contrast

On white

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

On black

4.36
#807228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##807228#FFFFFF#000000##FFFFFF
##8072281.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #807228;
/* rgb */ color: rgb(128, 114, 40);
/* oklch */ color: oklch(55.0% 0.095 98.5);
Tailwind
colors: {
  custom: {
    50: '#a89a66',
    500: '#807228',
    950: '#000000',
  },
}
SCSS
$custom: #807228;
$custom-light: #a89a66;
$custom-dark: #000000;
JSON
{
  "hex": "#807228",
  "rgb": {
    "r": 128,
    "g": 114,
    "b": 40
  },
  "hsl": {
    "h": 50.455,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55027,
    "c": 0.09467,
    "h": 98.5
  },
  "luminance": 0.16777
}

Semantic roles & 50–950 ramp

primary
#807228
secondary
#5463B0
accent
#63DC4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #807228

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

Preview Lab → · Contrast checker → · Palette generator →

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