#817518#817518

#817518 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.7% C 0.108 H 101.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#817518
RGBrgb(129, 117, 24)
HSLhsl(53, 69%, 30%)
HSVhsv(53, 81%, 51%)
CMYKcmyk(0%, 9.3%, 81.4%, 49.4%)
CIE-LABlab(48.83, -5.80, 48.72)
CIE-LCHlch(48.83, 49.06, 96.79°)
OKLaboklab(55.69% -0.0215 0.1058)
OKLCHoklch(55.69% 0.108 101.5)
XYZxyz(15.5802, 17.4564, 3.4127)
Luminance0.1746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817518 #182481
analogous
#814118 #817518 #588118
triadic
#817518 #188175 #751881
tetradic
#817518 #188141 #182481 #811858
square
#817518 #188141 #182481 #811858
split-complementary
#817518 #185881 #411881
monochromatic
#1A1705 #4D460E #817518 #B5A422 #DAC839

Accessibility & contrast

On white

4.68
#817518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#817518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817518
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817518#FFFFFF#000000##FFFFFF
##8175181.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817101
Deuteranopia (green-blind)
#84761F
Tritanopia (blue-blind)
#8C6C64
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #817518;
/* rgb */ color: rgb(129, 117, 24);
/* oklch */ color: oklch(55.7% 0.108 101.5);
Tailwind
colors: {
  custom: {
    50: '#a99c5e',
    500: '#817518',
    950: '#000000',
  },
}
SCSS
$custom: #817518;
$custom-light: #a99c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#817518",
  "rgb": {
    "r": 129,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 53.143,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.55691,
    "c": 0.10798,
    "h": 101.5
  },
  "luminance": 0.17456
}

Semantic roles & 50–950 ramp

primary
#817518
secondary
#404DB5
accent
#50EB3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817518

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

Preview Lab → · Contrast checker → · Palette generator →

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