#818323#818323

#818323 is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.0% C 0.115 H 110.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#818323
RGBrgb(129, 131, 35)
HSLhsl(61, 58%, 33%)
HSVhsv(61, 73%, 51%)
CMYKcmyk(1.5%, 0%, 73.3%, 48.6%)
CIE-LABlab(52.97, -12.99, 48.63)
CIE-LCHlch(52.97, 50.33, 104.96°)
OKLaboklab(59.01% -0.0406 0.1078)
OKLCHoklch(59.01% 0.115 110.7)
XYZxyz(17.4735, 21.0215, 4.7269)
Luminance0.2102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818323 #252383
analogous
#835523 #818323 #518323
triadic
#818323 #238183 #832381
tetradic
#818323 #238355 #252383 #832351
square
#818323 #238355 #252383 #832351
split-complementary
#818323 #235183 #552383
monochromatic
#222209 #515316 #818323 #B1B330 #CED050

Accessibility & contrast

On white

4.04
#818323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#818323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818323
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818323#FFFFFF#000000##000000
##8183231.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D12
Deuteranopia (green-blind)
#8E802A
Tritanopia (blue-blind)
#8A7B70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #818323;
/* rgb */ color: rgb(129, 131, 35);
/* oklch */ color: oklch(59.0% 0.115 110.7);
Tailwind
colors: {
  custom: {
    50: '#a9a665',
    500: '#818323',
    950: '#000000',
  },
}
SCSS
$custom: #818323;
$custom-light: #a9a665;
$custom-dark: #000000;
JSON
{
  "hex": "#818323",
  "rgb": {
    "r": 129,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 61.25,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.59013,
    "c": 0.11521,
    "h": 110.7
  },
  "luminance": 0.21021
}

Semantic roles & 50–950 ramp

primary
#818323
secondary
#504EB4
accent
#47E14A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #818323

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

Preview Lab → · Contrast checker → · Palette generator →

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