#808A30#808A30

#808A30 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 60.7% C 0.114 H 115.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#808A30
RGBrgb(128, 138, 48)
HSLhsl(67, 48%, 36%)
HSVhsv(67, 65%, 54%)
CMYKcmyk(7.2%, 0%, 65.2%, 45.9%)
CIE-LABlab(55.05, -16.36, 45.33)
CIE-LCHlch(55.05, 48.19, 109.85°)
OKLaboklab(60.69% -0.0486 0.1031)
OKLCHoklch(60.69% 0.114 115.3)
XYZxyz(18.5245, 22.9798, 6.2554)
Luminance0.2298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808A30 #3A308A
analogous
#8A6730 #808A30 #538A30
triadic
#808A30 #30808A #8A3080
tetradic
#808A30 #308A67 #3A308A #8A3053
square
#808A30 #308A67 #3A308A #8A3053
split-complementary
#808A30 #30538A #67308A
monochromatic
#2C2F10 #565D20 #808A30 #AAB740 #C0CB69

Accessibility & contrast

On white

3.75
#808A30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#808A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808A30
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808A30#FFFFFF#000000##000000
##808A301.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948324
Deuteranopia (green-blind)
#938536
Tritanopia (blue-blind)
#888277
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #808a30;
/* rgb */ color: rgb(128, 138, 48);
/* oklch */ color: oklch(60.7% 0.114 115.3);
Tailwind
colors: {
  custom: {
    50: '#a7ac6d',
    500: '#808a30',
    950: '#000000',
  },
}
SCSS
$custom: #808a30;
$custom-light: #a7ac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#808a30",
  "rgb": {
    "r": 128,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 66.667,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60688,
    "c": 0.11398,
    "h": 115.3
  },
  "luminance": 0.2298
}

Semantic roles & 50–950 ramp

primary
#808A30
secondary
#6C64B2
accent
#50D85F
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808A30

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

Preview Lab → · Contrast checker → · Palette generator →

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