#817918#817918

#817918 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.6% C 0.112 H 104.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#817918
RGBrgb(129, 121, 24)
HSLhsl(55, 69%, 30%)
HSVhsv(55, 81%, 51%)
CMYKcmyk(0%, 6.2%, 81.4%, 49.4%)
CIE-LABlab(49.99, -8.03, 49.75)
CIE-LCHlch(49.99, 50.40, 99.17°)
OKLaboklab(56.61% -0.0278 0.108)
OKLCHoklch(56.61% 0.112 104.4)
XYZxyz(16.0562, 18.4085, 3.5714)
Luminance0.1841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817918 #182081
analogous
#814518 #817918 #548118
triadic
#817918 #188179 #791881
tetradic
#817918 #188145 #182081 #811854
square
#817918 #188145 #182081 #811854
split-complementary
#817918 #185481 #451881
monochromatic
#1A1805 #4D490E #817918 #B5A922 #DACE39

Accessibility & contrast

On white

4.49
#817918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#817918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817918
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817918#FFFFFF#000000##000000
##8179181.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#877920
Tritanopia (blue-blind)
#8B7067
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #817918;
/* rgb */ color: rgb(129, 121, 24);
/* oklch */ color: oklch(56.6% 0.112 104.4);
Tailwind
colors: {
  custom: {
    50: '#a99f5f',
    500: '#817918',
    950: '#000000',
  },
}
SCSS
$custom: #817918;
$custom-light: #a99f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#817918",
  "rgb": {
    "r": 129,
    "g": 121,
    "b": 24
  },
  "hsl": {
    "h": 55.429,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.56612,
    "c": 0.11155,
    "h": 104.4
  },
  "luminance": 0.18408
}

Semantic roles & 50–950 ramp

primary
#817918
secondary
#4049B5
accent
#4AEB3C
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817918

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

Preview Lab → · Contrast checker → · Palette generator →

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