#817818#817818

#817818 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.4% C 0.111 H 103.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#817818
RGBrgb(129, 120, 24)
HSLhsl(55, 69%, 30%)
HSVhsv(55, 81%, 51%)
CMYKcmyk(0%, 7%, 81.4%, 49.4%)
CIE-LABlab(49.70, -7.48, 49.49)
CIE-LCHlch(49.70, 50.05, 98.59°)
OKLaboklab(56.38% -0.0262 0.1075)
OKLCHoklch(56.38% 0.111 103.7)
XYZxyz(15.9353, 18.1667, 3.5311)
Luminance0.1817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817818 #182181
analogous
#814318 #817818 #568118
triadic
#817818 #188178 #781881
tetradic
#817818 #188143 #182181 #811856
square
#817818 #188143 #182181 #811856
split-complementary
#817818 #185681 #431881
monochromatic
#1A1805 #4D480E #817818 #B5A822 #DACC39

Accessibility & contrast

On white

4.53
#817818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#817818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817818
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817818#FFFFFF#000000##000000
##8178181.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#867820
Tritanopia (blue-blind)
#8B6F66
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #817818;
/* rgb */ color: rgb(129, 120, 24);
/* oklch */ color: oklch(56.4% 0.111 103.7);
Tailwind
colors: {
  custom: {
    50: '#a99e5e',
    500: '#817818',
    950: '#000000',
  },
}
SCSS
$custom: #817818;
$custom-light: #a99e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#817818",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 54.857,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.56381,
    "c": 0.11063,
    "h": 103.7
  },
  "luminance": 0.18166
}

Semantic roles & 50–950 ramp

primary
#817818
secondary
#404AB5
accent
#4BEB3C
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817818

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

Preview Lab → · Contrast checker → · Palette generator →

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