#807B23#807B23

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

Color values

HEX#807B23
RGBrgb(128, 123, 35)
HSLhsl(57, 57%, 32%)
HSVhsv(57, 73%, 50%)
CMYKcmyk(0%, 3.9%, 72.7%, 49.8%)
CIE-LABlab(50.54, -9.09, 46.23)
CIE-LCHlch(50.54, 47.11, 101.13°)
OKLaboklab(57.05% -0.0296 0.1028)
OKLCHoklch(57.05% 0.107 106.1)
XYZxyz(16.2891, 18.8770, 4.3754)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807B23 #232880
analogous
#804D23 #807B23 #578023
triadic
#807B23 #23807B #7B2380
tetradic
#807B23 #23804D #232880 #802357
square
#807B23 #23804D #232880 #802357
split-complementary
#807B23 #235780 #4D2380
monochromatic
#201F09 #504D16 #807B23 #B0A930 #CFC84F

Accessibility & contrast

On white

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

On black

4.78
#807B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807B23
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807B23#FFFFFF#000000##000000
##807B231.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#867615
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#8A736A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #807b23;
/* rgb */ color: rgb(128, 123, 35);
/* oklch */ color: oklch(57.1% 0.107 106.1);
Tailwind
colors: {
  custom: {
    50: '#a8a064',
    500: '#807b23',
    950: '#000000',
  },
}
SCSS
$custom: #807b23;
$custom-light: #a8a064;
$custom-dark: #000000;
JSON
{
  "hex": "#807b23",
  "rgb": {
    "r": 128,
    "g": 123,
    "b": 35
  },
  "hsl": {
    "h": 56.774,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57052,
    "c": 0.10696,
    "h": 106.1
  },
  "luminance": 0.18876
}

Semantic roles & 50–950 ramp

primary
#807B23
secondary
#4D52B2
accent
#50E047
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #807B23

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

Preview Lab → · Contrast checker → · Palette generator →

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