#807E22#807E22

#807E22 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.7% C 0.111 H 108.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#807E22
RGBrgb(128, 126, 34)
HSLhsl(59, 58%, 32%)
HSVhsv(59, 73%, 50%)
CMYKcmyk(0%, 1.6%, 73.4%, 49.8%)
CIE-LABlab(51.41, -10.79, 47.47)
CIE-LCHlch(51.41, 48.68, 102.81°)
OKLaboklab(57.74% -0.0345 0.1052)
OKLCHoklch(57.74% 0.111 108.2)
XYZxyz(16.6523, 19.6269, 4.4243)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807E22 #222480
analogous
#804F22 #807E22 #538022
triadic
#807E22 #22807E #7E2280
tetradic
#807E22 #22804F #222480 #802253
square
#807E22 #22804F #222480 #802253
split-complementary
#807E22 #225380 #4F2280
monochromatic
#1F1F08 #504E15 #807E22 #B0AE2F #D0CD4D

Accessibility & contrast

On white

4.26
#807E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#807E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807E22
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807E22#FFFFFF#000000##000000
##807E221.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897912
Deuteranopia (green-blind)
#8A7C29
Tritanopia (blue-blind)
#89766C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807e22;
/* rgb */ color: rgb(128, 126, 34);
/* oklch */ color: oklch(57.7% 0.111 108.2);
Tailwind
colors: {
  custom: {
    50: '#a8a364',
    500: '#807e22',
    950: '#000000',
  },
}
SCSS
$custom: #807e22;
$custom-light: #a8a364;
$custom-dark: #000000;
JSON
{
  "hex": "#807e22",
  "rgb": {
    "r": 128,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 58.723,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57744,
    "c": 0.11073,
    "h": 108.2
  },
  "luminance": 0.19626
}

Semantic roles & 50–950 ramp

primary
#807E22
secondary
#4B4EB2
accent
#4AE147
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #807E22

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

Preview Lab → · Contrast checker → · Palette generator →

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