#807A23#807A23

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

Color values

HEX#807A23
RGBrgb(128, 122, 35)
HSLhsl(56, 57%, 32%)
HSVhsv(56, 73%, 50%)
CMYKcmyk(0%, 4.7%, 72.7%, 49.8%)
CIE-LABlab(50.25, -8.54, 45.94)
CIE-LCHlch(50.25, 46.73, 100.53°)
OKLaboklab(56.82% -0.0281 0.1022)
OKLCHoklch(56.82% 0.106 105.4)
XYZxyz(16.1656, 18.6302, 4.3342)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807A23 #232980
analogous
#804C23 #807A23 #588023
triadic
#807A23 #23807A #7A2380
tetradic
#807A23 #23804C #232980 #802358
square
#807A23 #23804C #232980 #802358
split-complementary
#807A23 #235880 #4C2380
monochromatic
#201E09 #504C16 #807A23 #B0A830 #CFC74F

Accessibility & contrast

On white

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

On black

4.73
#807A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807A23
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807A23#FFFFFF#000000##000000
##807A231.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#857515
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#8A7269
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #807a23;
/* rgb */ color: rgb(128, 122, 35);
/* oklch */ color: oklch(56.8% 0.106 105.4);
Tailwind
colors: {
  custom: {
    50: '#a8a064',
    500: '#807a23',
    950: '#000000',
  },
}
SCSS
$custom: #807a23;
$custom-light: #a8a064;
$custom-dark: #000000;
JSON
{
  "hex": "#807a23",
  "rgb": {
    "r": 128,
    "g": 122,
    "b": 35
  },
  "hsl": {
    "h": 56.129,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5682,
    "c": 0.10595,
    "h": 105.4
  },
  "luminance": 0.1863
}

Semantic roles & 50–950 ramp

primary
#807A23
secondary
#4D53B2
accent
#51E047
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #807A23

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

Preview Lab → · Contrast checker → · Palette generator →

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