#807B22#807B22

#807B22 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.0% C 0.108 H 106.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#807B22
RGBrgb(128, 123, 34)
HSLhsl(57, 58%, 32%)
HSVhsv(57, 73%, 50%)
CMYKcmyk(0%, 3.9%, 73.4%, 49.8%)
CIE-LABlab(50.54, -9.15, 46.62)
CIE-LCHlch(50.54, 47.51, 101.10°)
OKLaboklab(57.05% -0.0299 0.1034)
OKLCHoklch(57.05% 0.108 106.1)
XYZxyz(16.2744, 18.8712, 4.2983)
Luminance0.1887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807B22 #222780
analogous
#804C22 #807B22 #568022
triadic
#807B22 #22807B #7B2280
tetradic
#807B22 #22804C #222780 #802256
square
#807B22 #22804C #222780 #802256
split-complementary
#807B22 #225680 #4C2280
monochromatic
#1F1E08 #504D15 #807B22 #B0A92F #D0C94D

Accessibility & contrast

On white

4.40
#807B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#807B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807B22
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807B22#FFFFFF#000000##000000
##807B221.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#867613
Deuteranopia (green-blind)
#887A28
Tritanopia (blue-blind)
#8A726A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #807b22;
/* rgb */ color: rgb(128, 123, 34);
/* oklch */ color: oklch(57.0% 0.108 106.1);
Tailwind
colors: {
  custom: {
    50: '#a8a064',
    500: '#807b22',
    950: '#000000',
  },
}
SCSS
$custom: #807b22;
$custom-light: #a8a064;
$custom-dark: #000000;
JSON
{
  "hex": "#807b22",
  "rgb": {
    "r": 128,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 56.809,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57045,
    "c": 0.10765,
    "h": 106.1
  },
  "luminance": 0.18871
}

Semantic roles & 50–950 ramp

primary
#807B22
secondary
#4B51B2
accent
#4FE147
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #807B22

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

Preview Lab → · Contrast checker → · Palette generator →

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