#817018#817018

#817018 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.6% C 0.104 H 97.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#817018
RGBrgb(129, 112, 24)
HSLhsl(50, 69%, 30%)
HSVhsv(50, 81%, 51%)
CMYKcmyk(0%, 13.2%, 81.4%, 49.4%)
CIE-LABlab(47.39, -2.97, 47.43)
CIE-LCHlch(47.39, 47.52, 93.59°)
OKLaboklab(54.55% -0.0136 0.103)
OKLCHoklch(54.55% 0.104 97.5)
XYZxyz(15.0131, 16.3222, 3.2237)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817018 #182981
analogous
#813C18 #817018 #5D8118
triadic
#817018 #188170 #701881
tetradic
#817018 #18813C #182981 #81185D
square
#817018 #18813C #182981 #81185D
split-complementary
#817018 #185D81 #3C1881
monochromatic
#1A1605 #4D430E #817018 #B59D22 #DAC039

Accessibility & contrast

On white

4.92
#817018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#817018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817018
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817018#FFFFFF#000000##FFFFFF
##8170181.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D03
Deuteranopia (green-blind)
#81731E
Tritanopia (blue-blind)
#8C6760
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #817018;
/* rgb */ color: rgb(129, 112, 24);
/* oklch */ color: oklch(54.6% 0.104 97.5);
Tailwind
colors: {
  custom: {
    50: '#a9985d',
    500: '#817018',
    950: '#000000',
  },
}
SCSS
$custom: #817018;
$custom-light: #a9985d;
$custom-dark: #000000;
JSON
{
  "hex": "#817018",
  "rgb": {
    "r": 129,
    "g": 112,
    "b": 24
  },
  "hsl": {
    "h": 50.286,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.54552,
    "c": 0.10393,
    "h": 97.5
  },
  "luminance": 0.16321
}

Semantic roles & 50–950 ramp

primary
#817018
secondary
#4053B5
accent
#59EB3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #817018

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

Preview Lab → · Contrast checker → · Palette generator →

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