#807E23#807E23

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

Color values

HEX#807E23
RGBrgb(128, 126, 35)
HSLhsl(59, 57%, 32%)
HSVhsv(59, 73%, 50%)
CMYKcmyk(0%, 1.6%, 72.7%, 49.8%)
CIE-LABlab(51.42, -10.74, 47.09)
CIE-LCHlch(51.42, 48.30, 102.85°)
OKLaboklab(57.75% -0.0343 0.1046)
OKLCHoklch(57.75% 0.11 108.1)
XYZxyz(16.6669, 19.6328, 4.5013)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807E23 #232580
analogous
#805023 #807E23 #548023
triadic
#807E23 #23807E #7E2380
tetradic
#807E23 #238050 #232580 #802354
square
#807E23 #238050 #232580 #802354
split-complementary
#807E23 #235480 #502380
monochromatic
#201F09 #504F16 #807E23 #B0AD30 #CFCC4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##807E23#FFFFFF#000000##000000
##807E231.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)
#897914
Deuteranopia (green-blind)
#8A7C2A
Tritanopia (blue-blind)
#89766C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807e23;
/* rgb */ color: rgb(128, 126, 35);
/* oklch */ color: oklch(57.8% 0.110 108.1);
Tailwind
colors: {
  custom: {
    50: '#a8a365',
    500: '#807e23',
    950: '#000000',
  },
}
SCSS
$custom: #807e23;
$custom-light: #a8a365;
$custom-dark: #000000;
JSON
{
  "hex": "#807e23",
  "rgb": {
    "r": 128,
    "g": 126,
    "b": 35
  },
  "hsl": {
    "h": 58.71,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57751,
    "c": 0.11005,
    "h": 108.1
  },
  "luminance": 0.19632
}

Semantic roles & 50–950 ramp

primary
#807E23
secondary
#4D4FB2
accent
#4BE047
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #807E23

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

Preview Lab → · Contrast checker → · Palette generator →

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