#807C22#807C22

#807C22 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.3% C 0.109 H 106.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#807C22
RGBrgb(128, 124, 34)
HSLhsl(57, 58%, 32%)
HSVhsv(57, 73%, 50%)
CMYKcmyk(0%, 3.1%, 73.4%, 49.8%)
CIE-LABlab(50.83, -9.70, 46.90)
CIE-LCHlch(50.83, 47.89, 101.68°)
OKLaboklab(57.28% -0.0314 0.104)
OKLCHoklch(57.28% 0.109 106.8)
XYZxyz(16.3991, 19.1206, 4.3399)
Luminance0.1912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807C22 #222680
analogous
#804D22 #807C22 #558022
triadic
#807C22 #22807C #7C2280
tetradic
#807C22 #22804D #222680 #802255
square
#807C22 #22804D #222680 #802255
split-complementary
#807C22 #225580 #4D2280
monochromatic
#1F1E08 #504D15 #807C22 #B0AB2F #D0CA4D

Accessibility & contrast

On white

4.35
#807C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#807C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807C22
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807C22#FFFFFF#000000##000000
##807C221.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877713
Deuteranopia (green-blind)
#897B28
Tritanopia (blue-blind)
#8A746A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #807c22;
/* rgb */ color: rgb(128, 124, 34);
/* oklch */ color: oklch(57.3% 0.109 106.8);
Tailwind
colors: {
  custom: {
    50: '#a8a164',
    500: '#807c22',
    950: '#000000',
  },
}
SCSS
$custom: #807c22;
$custom-light: #a8a164;
$custom-dark: #000000;
JSON
{
  "hex": "#807c22",
  "rgb": {
    "r": 128,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 57.447,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57277,
    "c": 0.10866,
    "h": 106.8
  },
  "luminance": 0.1912
}

Semantic roles & 50–950 ramp

primary
#807C22
secondary
#4B50B2
accent
#4DE147
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #807C22

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

Preview Lab → · Contrast checker → · Palette generator →

#807C22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva