#808D38#808D38

#808D38 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.5% C 0.111 H 117.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#808D38
RGBrgb(128, 141, 56)
HSLhsl(69, 43%, 39%)
HSVhsv(69, 60%, 55%)
CMYKcmyk(9.2%, 0%, 60.3%, 44.7%)
CIE-LABlab(56.01, -17.32, 42.72)
CIE-LCHlch(56.01, 46.10, 112.07°)
OKLaboklab(61.48% -0.0505 0.0987)
OKLCHoklch(61.48% 0.111 117.1)
XYZxyz(19.1411, 23.9247, 7.3502)
Luminance0.2392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808D38 #45388D
analogous
#8D6F38 #808D38 #558D38
triadic
#808D38 #38808D #8D3880
tetradic
#808D38 #388D6F #45388D #8D3855
square
#808D38 #388D6F #45388D #8D3855
split-complementary
#808D38 #38558D #6F388D
monochromatic
#303515 #586127 #808D38 #A7B74B #BCC977

Accessibility & contrast

On white

3.63
#808D38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#808D38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808D38
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808D38#FFFFFF#000000##000000
##808D381.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#96862F
Deuteranopia (green-blind)
#95873D
Tritanopia (blue-blind)
#87867B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #808d38;
/* rgb */ color: rgb(128, 141, 56);
/* oklch */ color: oklch(61.5% 0.111 117.1);
Tailwind
colors: {
  custom: {
    50: '#a7ae72',
    500: '#808d38',
    950: '#000000',
  },
}
SCSS
$custom: #808d38;
$custom-light: #a7ae72;
$custom-dark: #000000;
JSON
{
  "hex": "#808d38",
  "rgb": {
    "r": 128,
    "g": 141,
    "b": 56
  },
  "hsl": {
    "h": 69.176,
    "s": 43.147,
    "l": 38.627
  },
  "oklch": {
    "l": 0.61482,
    "c": 0.11083,
    "h": 117.1
  },
  "luminance": 0.23924
}

Semantic roles & 50–950 ramp

primary
#808D38
secondary
#796FB2
accent
#55D368
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#101008
muted
#7F7F7B

Preview Lab

Preview with #808D38

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

Preview Lab → · Contrast checker → · Palette generator →

#808D38 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva