#807223#807223

#807223 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 55.0% C 0.099 H 99.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#807223
RGBrgb(128, 114, 35)
HSLhsl(51, 57%, 32%)
HSVhsv(51, 73%, 50%)
CMYKcmyk(0%, 10.9%, 72.7%, 49.8%)
CIE-LABlab(47.94, -4.06, 43.64)
CIE-LCHlch(47.94, 43.83, 95.31°)
OKLaboklab(54.98% -0.0154 0.0973)
OKLCHoklch(54.98% 0.099 99)
XYZxyz(15.2235, 16.7459, 4.0202)
Luminance0.1674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807223 #233180
analogous
#804423 #807223 #608023
triadic
#807223 #238072 #722380
tetradic
#807223 #238044 #233180 #802360
square
#807223 #238044 #233180 #802360
split-complementary
#807223 #236080 #442380
monochromatic
#201C09 #504716 #807223 #B09D30 #CFBB4F

Accessibility & contrast

On white

4.83
#807223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #807223
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807223#FFFFFF#000000##FFFFFF
##8072231.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F17
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#8A6962
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #807223;
/* rgb */ color: rgb(128, 114, 35);
/* oklch */ color: oklch(55.0% 0.099 99.0);
Tailwind
colors: {
  custom: {
    50: '#a89a63',
    500: '#807223',
    950: '#000000',
  },
}
SCSS
$custom: #807223;
$custom-light: #a89a63;
$custom-dark: #000000;
JSON
{
  "hex": "#807223",
  "rgb": {
    "r": 128,
    "g": 114,
    "b": 35
  },
  "hsl": {
    "h": 50.968,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54982,
    "c": 0.09852,
    "h": 99
  },
  "luminance": 0.16745
}

Semantic roles & 50–950 ramp

primary
#807223
secondary
#4D5CB2
accent
#5EE047
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #807223

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

Preview Lab → · Contrast checker → · Palette generator →

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