#808237#808237

#808237 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 58.9% C 0.098 H 110.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#808237
RGBrgb(128, 130, 55)
HSLhsl(62, 41%, 36%)
HSVhsv(62, 58%, 51%)
CMYKcmyk(1.5%, 0%, 57.7%, 49%)
CIE-LABlab(52.76, -11.54, 39.57)
CIE-LCHlch(52.76, 41.21, 106.26°)
OKLaboklab(58.88% -0.0343 0.0918)
OKLCHoklch(58.88% 0.098 110.5)
XYZxyz(17.5748, 20.8307, 6.7086)
Luminance0.2083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808237 #393782
analogous
#825F37 #808237 #5B8237
triadic
#808237 #378082 #823780
tetradic
#808237 #37825F #393782 #82375B
square
#808237 #37825F #393782 #82375B
split-complementary
#808237 #375B82 #5F3782
monochromatic
#2B2C13 #565725 #808237 #AAAD49 #C1C371

Accessibility & contrast

On white

4.07
#808237 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#808237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808237
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808237#FFFFFF#000000##000000
##8082371.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D2F
Deuteranopia (green-blind)
#8C7F3B
Tritanopia (blue-blind)
#887B72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #808237;
/* rgb */ color: rgb(128, 130, 55);
/* oklch */ color: oklch(58.9% 0.098 110.5);
Tailwind
colors: {
  custom: {
    50: '#a7a671',
    500: '#808237',
    950: '#000000',
  },
}
SCSS
$custom: #808237;
$custom-light: #a7a671;
$custom-dark: #000000;
JSON
{
  "hex": "#808237",
  "rgb": {
    "r": 128,
    "g": 130,
    "b": 55
  },
  "hsl": {
    "h": 61.6,
    "s": 40.541,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58879,
    "c": 0.098,
    "h": 110.5
  },
  "luminance": 0.2083
}

Semantic roles & 50–950 ramp

primary
#808237
secondary
#6B69AB
accent
#57D05B
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#100F08
muted
#7F7F7B

Preview Lab

Preview with #808237

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

Preview Lab → · Contrast checker → · Palette generator →

#808237 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva