#817418#817418

#817418 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.5% C 0.107 H 100.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#817418
RGBrgb(129, 116, 24)
HSLhsl(53, 69%, 30%)
HSVhsv(53, 81%, 51%)
CMYKcmyk(0%, 10.1%, 81.4%, 49.4%)
CIE-LABlab(48.54, -5.24, 48.46)
CIE-LCHlch(48.54, 48.74, 96.17°)
OKLaboklab(55.46% -0.02 0.1053)
OKLCHoklch(55.46% 0.107 100.7)
XYZxyz(15.4643, 17.2246, 3.3741)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817418 #182581
analogous
#813F18 #817418 #5A8118
triadic
#817418 #188174 #741881
tetradic
#817418 #18813F #182581 #81185A
square
#817418 #18813F #182581 #81185A
split-complementary
#817418 #185A81 #3F1881
monochromatic
#1A1705 #4D460E #817418 #B5A222 #DAC639

Accessibility & contrast

On white

4.72
#817418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#817418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817418
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817418#FFFFFF#000000##FFFFFF
##8174181.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807001
Deuteranopia (green-blind)
#84751F
Tritanopia (blue-blind)
#8C6B63
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #817418;
/* rgb */ color: rgb(129, 116, 24);
/* oklch */ color: oklch(55.5% 0.107 100.7);
Tailwind
colors: {
  custom: {
    50: '#a99b5e',
    500: '#817418',
    950: '#000000',
  },
}
SCSS
$custom: #817418;
$custom-light: #a99b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#817418",
  "rgb": {
    "r": 129,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 52.571,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.55462,
    "c": 0.10713,
    "h": 100.7
  },
  "luminance": 0.17224
}

Semantic roles & 50–950 ramp

primary
#817418
secondary
#404EB5
accent
#52EB3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817418

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

Preview Lab → · Contrast checker → · Palette generator →

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