#807A22#807A22

#807A22 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.8% C 0.107 H 105.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#807A22
RGBrgb(128, 122, 34)
HSLhsl(56, 58%, 32%)
HSVhsv(56, 73%, 50%)
CMYKcmyk(0%, 4.7%, 73.4%, 49.8%)
CIE-LABlab(50.24, -8.60, 46.33)
CIE-LCHlch(50.24, 47.12, 100.51°)
OKLaboklab(56.81% -0.0283 0.1028)
OKLCHoklch(56.81% 0.107 105.4)
XYZxyz(16.1510, 18.6244, 4.2572)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807A22 #222880
analogous
#804B22 #807A22 #578022
triadic
#807A22 #22807A #7A2280
tetradic
#807A22 #22804B #222880 #802257
square
#807A22 #22804B #222880 #802257
split-complementary
#807A22 #225780 #4B2280
monochromatic
#1F1E08 #504C15 #807A22 #B0A82F #D0C74D

Accessibility & contrast

On white

4.44
#807A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#807A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807A22
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807A22#FFFFFF#000000##000000
##807A221.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#857513
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#8A7169
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #807a22;
/* rgb */ color: rgb(128, 122, 34);
/* oklch */ color: oklch(56.8% 0.107 105.4);
Tailwind
colors: {
  custom: {
    50: '#a8a064',
    500: '#807a22',
    950: '#000000',
  },
}
SCSS
$custom: #807a22;
$custom-light: #a8a064;
$custom-dark: #000000;
JSON
{
  "hex": "#807a22",
  "rgb": {
    "r": 128,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 56.17,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56813,
    "c": 0.10663,
    "h": 105.4
  },
  "luminance": 0.18624
}

Semantic roles & 50–950 ramp

primary
#807A22
secondary
#4B52B2
accent
#50E147
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #807A22

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

Preview Lab → · Contrast checker → · Palette generator →

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