#807D23#807D23

#807D23 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.5% C 0.109 H 107.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#807D23
RGBrgb(128, 125, 35)
HSLhsl(58, 57%, 32%)
HSVhsv(58, 73%, 50%)
CMYKcmyk(0%, 2.3%, 72.7%, 49.8%)
CIE-LABlab(51.13, -10.19, 46.80)
CIE-LCHlch(51.13, 47.90, 102.29°)
OKLaboklab(57.52% -0.0327 0.104)
OKLCHoklch(57.52% 0.109 107.5)
XYZxyz(16.5397, 19.3783, 4.4589)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807D23 #232680
analogous
#804F23 #807D23 #548023
triadic
#807D23 #23807D #7D2380
tetradic
#807D23 #23804F #232680 #802354
square
#807D23 #23804F #232680 #802354
split-complementary
#807D23 #235480 #4F2380
monochromatic
#201F09 #504E16 #807D23 #B0AC30 #CFCB4F

Accessibility & contrast

On white

4.31
#807D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#807D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807D23
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807D23#FFFFFF#000000##000000
##807D231.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887814
Deuteranopia (green-blind)
#897B29
Tritanopia (blue-blind)
#8A756B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807d23;
/* rgb */ color: rgb(128, 125, 35);
/* oklch */ color: oklch(57.5% 0.109 107.5);
Tailwind
colors: {
  custom: {
    50: '#a8a264',
    500: '#807d23',
    950: '#000000',
  },
}
SCSS
$custom: #807d23;
$custom-light: #a8a264;
$custom-dark: #000000;
JSON
{
  "hex": "#807d23",
  "rgb": {
    "r": 128,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 58.065,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57518,
    "c": 0.10901,
    "h": 107.5
  },
  "luminance": 0.19378
}

Semantic roles & 50–950 ramp

primary
#807D23
secondary
#4D50B2
accent
#4CE047
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #807D23

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

Preview Lab → · Contrast checker → · Palette generator →

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