#818232#818232

#818232 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 58.9% C 0.102 H 109.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#818232
RGBrgb(129, 130, 50)
HSLhsl(61, 44%, 35%)
HSVhsv(61, 62%, 51%)
CMYKcmyk(0.8%, 0%, 61.5%, 49%)
CIE-LABlab(52.80, -11.49, 42.02)
CIE-LCHlch(52.80, 43.57, 105.30°)
OKLaboklab(58.91% -0.0348 0.0964)
OKLCHoklch(58.91% 0.102 109.8)
XYZxyz(17.6121, 20.8631, 6.1162)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818232 #333282
analogous
#825B32 #818232 #598232
triadic
#818232 #328182 #823281
tetradic
#818232 #32825B #333282 #823259
square
#818232 #32825B #333282 #823259
split-complementary
#818232 #325982 #5B3282
monochromatic
#292A10 #555621 #818232 #ADAE43 #C4C569

Accessibility & contrast

On white

4.06
#818232 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#818232 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818232
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818232#FFFFFF#000000##000000
##8182321.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D29
Deuteranopia (green-blind)
#8D7F37
Tritanopia (blue-blind)
#8A7A71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #818232;
/* rgb */ color: rgb(129, 130, 50);
/* oklch */ color: oklch(58.9% 0.102 109.8);
Tailwind
colors: {
  custom: {
    50: '#a8a66e',
    500: '#818232',
    950: '#000000',
  },
}
SCSS
$custom: #818232;
$custom-light: #a8a66e;
$custom-dark: #000000;
JSON
{
  "hex": "#818232",
  "rgb": {
    "r": 129,
    "g": 130,
    "b": 50
  },
  "hsl": {
    "h": 60.75,
    "s": 44.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58913,
    "c": 0.10244,
    "h": 109.8
  },
  "luminance": 0.20863
}

Semantic roles & 50–950 ramp

primary
#818232
secondary
#6463AD
accent
#54D455
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #818232

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

Preview Lab → · Contrast checker → · Palette generator →

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