#808338#808338

#808338 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.1% C 0.098 H 111.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#808338
RGBrgb(128, 131, 56)
HSLhsl(62, 40%, 37%)
HSVhsv(62, 57%, 51%)
CMYKcmyk(2.3%, 0%, 57.3%, 48.6%)
CIE-LABlab(53.07, -12.00, 39.42)
CIE-LCHlch(53.07, 41.20, 106.93°)
OKLaboklab(59.13% -0.0354 0.0916)
OKLCHoklch(59.13% 0.098 111.2)
XYZxyz(17.7326, 21.1077, 6.8807)
Luminance0.2111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808338 #3B3883
analogous
#836138 #808338 #5B8338
triadic
#808338 #388083 #833880
tetradic
#808338 #388361 #3B3883 #83385B
square
#808338 #388361 #3B3883 #83385B
split-complementary
#808338 #385B83 #613883
monochromatic
#2C2D13 #565826 #808338 #AAAE4A #C0C372

Accessibility & contrast

On white

4.02
#808338 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#808338 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808338
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808338#FFFFFF#000000##000000
##8083381.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E30
Deuteranopia (green-blind)
#8D803C
Tritanopia (blue-blind)
#887C73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #808338;
/* rgb */ color: rgb(128, 131, 56);
/* oklch */ color: oklch(59.1% 0.098 111.2);
Tailwind
colors: {
  custom: {
    50: '#a7a671',
    500: '#808338',
    950: '#000000',
  },
}
SCSS
$custom: #808338;
$custom-light: #a7a671;
$custom-dark: #000000;
JSON
{
  "hex": "#808338",
  "rgb": {
    "r": 128,
    "g": 131,
    "b": 56
  },
  "hsl": {
    "h": 62.4,
    "s": 40.107,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59125,
    "c": 0.09824,
    "h": 111.2
  },
  "luminance": 0.21107
}

Semantic roles & 50–950 ramp

primary
#808338
secondary
#6E6BAC
accent
#58D05D
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#100F08
muted
#7F7F7B

Preview Lab

Preview with #808338

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

Preview Lab → · Contrast checker → · Palette generator →

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