#808D30#808D30

#808D30 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.4% C 0.118 H 116.8°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#808D30
RGBrgb(128, 141, 48)
HSLhsl(68, 49%, 37%)
HSVhsv(68, 66%, 55%)
CMYKcmyk(9.2%, 0%, 66%, 44.7%)
CIE-LABlab(55.94, -17.93, 46.27)
CIE-LCHlch(55.94, 49.62, 111.19°)
OKLaboklab(61.4% -0.053 0.1051)
OKLCHoklch(61.4% 0.118 116.8)
XYZxyz(18.9609, 23.8526, 6.4009)
Luminance0.2385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808D30 #3D308D
analogous
#8D6C30 #808D30 #528D30
triadic
#808D30 #30808D #8D3080
tetradic
#808D30 #308D6C #3D308D #8D3052
square
#808D30 #308D6C #3D308D #8D3052
split-complementary
#808D30 #30528D #6C308D
monochromatic
#2D3211 #575F20 #808D30 #A9BB40 #BFCD6B

Accessibility & contrast

On white

3.64
#808D30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#808D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808D30
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808D30#FFFFFF#000000##000000
##808D301.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#968624
Deuteranopia (green-blind)
#958736
Tritanopia (blue-blind)
#88857A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #808d30;
/* rgb */ color: rgb(128, 141, 48);
/* oklch */ color: oklch(61.4% 0.118 116.8);
Tailwind
colors: {
  custom: {
    50: '#a7ae6d',
    500: '#808d30',
    950: '#000000',
  },
}
SCSS
$custom: #808d30;
$custom-light: #a7ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#808d30",
  "rgb": {
    "r": 128,
    "g": 141,
    "b": 48
  },
  "hsl": {
    "h": 68.387,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.614,
    "c": 0.11769,
    "h": 116.8
  },
  "luminance": 0.23852
}

Semantic roles & 50–950 ramp

primary
#808D30
secondary
#7065B4
accent
#4FD962
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808D30

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

Preview Lab → · Contrast checker → · Palette generator →

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