#808348#808348

#808348 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.3% C 0.081 H 111.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#808348
RGBrgb(128, 131, 72)
HSLhsl(63, 29%, 40%)
HSVhsv(63, 45%, 51%)
CMYKcmyk(2.3%, 0%, 45%, 48.6%)
CIE-LABlab(53.27, -10.43, 31.40)
CIE-LCHlch(53.27, 33.09, 108.37°)
OKLaboklab(59.35% -0.0293 0.0756)
OKLCHoklch(59.35% 0.081 111.2)
XYZxyz(18.1884, 21.2900, 9.2809)
Luminance0.2129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808348 #4B4883
analogous
#836948 #808348 #638348
triadic
#808348 #488083 #834880
tetradic
#808348 #488369 #4B4883 #834863
square
#808348 #488369 #4B4883 #834863
split-complementary
#808348 #486383 #694883
monochromatic
#33341D #595C32 #808348 #A4A860 #BBBE88

Accessibility & contrast

On white

3.99
#808348 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#808348 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808348
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808348#FFFFFF#000000##000000
##8083481.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7E43
Deuteranopia (green-blind)
#8B804B
Tritanopia (blue-blind)
#877D75
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #808348;
/* rgb */ color: rgb(128, 131, 72);
/* oklch */ color: oklch(59.3% 0.081 111.2);
Tailwind
colors: {
  custom: {
    50: '#a6a77c',
    500: '#808348',
    950: '#000000',
  },
}
SCSS
$custom: #808348;
$custom-light: #a6a77c;
$custom-dark: #000000;
JSON
{
  "hex": "#808348",
  "rgb": {
    "r": 128,
    "g": 131,
    "b": 72
  },
  "hsl": {
    "h": 63.051,
    "s": 29.064,
    "l": 39.804
  },
  "oklch": {
    "l": 0.59347,
    "c": 0.08109,
    "h": 111.2
  },
  "luminance": 0.2129
}

Semantic roles & 50–950 ramp

primary
#808348
secondary
#807EA9
accent
#62C567
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #808348

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

Preview Lab → · Contrast checker → · Palette generator →

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