#817828#817828

#817828 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.5% C 0.100 H 102.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#817828
RGBrgb(129, 120, 40)
HSLhsl(54, 53%, 33%)
HSVhsv(54, 69%, 51%)
CMYKcmyk(0%, 7%, 69%, 49.4%)
CIE-LABlab(49.80, -6.68, 43.40)
CIE-LCHlch(49.80, 43.91, 98.74°)
OKLaboklab(56.5% -0.0223 0.0977)
OKLCHoklch(56.5% 0.1 102.9)
XYZxyz(16.1534, 18.2539, 4.6796)
Luminance0.1825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817828 #283181
analogous
#814B28 #817828 #5D8128
triadic
#817828 #288178 #782881
tetradic
#817828 #28814B #283181 #81285D
square
#817828 #28814B #283181 #81285D
split-complementary
#817828 #285D81 #4B2881
monochromatic
#24210B #524D1A #817828 #B0A336 #CBC058

Accessibility & contrast

On white

4.52
#817828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#817828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817828
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817828#FFFFFF#000000##000000
##8178281.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#83741D
Deuteranopia (green-blind)
#86782D
Tritanopia (blue-blind)
#8B7068
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #817828;
/* rgb */ color: rgb(129, 120, 40);
/* oklch */ color: oklch(56.5% 0.100 102.9);
Tailwind
colors: {
  custom: {
    50: '#a89e67',
    500: '#817828',
    950: '#000000',
  },
}
SCSS
$custom: #817828;
$custom-light: #a89e67;
$custom-dark: #000000;
JSON
{
  "hex": "#817828",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 53.933,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56498,
    "c": 0.10018,
    "h": 102.9
  },
  "luminance": 0.18253
}

Semantic roles & 50–950 ramp

primary
#817828
secondary
#545EB0
accent
#5ADC4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #817828

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

Preview Lab → · Contrast checker → · Palette generator →

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