#818017#818017

#818017 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.2% C 0.119 H 109.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#818017
RGBrgb(129, 128, 23)
HSLhsl(59, 70%, 30%)
HSVhsv(59, 82%, 51%)
CMYKcmyk(0%, 0.8%, 82.2%, 49.4%)
CIE-LABlab(52.03, -11.90, 51.86)
CIE-LCHlch(52.03, 53.21, 102.93°)
OKLaboklab(58.24% -0.0387 0.1124)
OKLCHoklch(58.24% 0.119 109)
XYZxyz(16.9278, 20.1679, 3.8115)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818017 #171881
analogous
#814B17 #818017 #4D8117
triadic
#818017 #178180 #801781
tetradic
#818017 #17814B #171881 #81174D
square
#818017 #17814B #171881 #81174D
split-complementary
#818017 #174D81 #4B1781
monochromatic
#1A1A05 #4D4C0E #818017 #B5B420 #DBDA37

Accessibility & contrast

On white

4.17
#818017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#818017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818017
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818017#FFFFFF#000000##000000
##8180171.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8D7E21
Tritanopia (blue-blind)
#8B776D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #818017;
/* rgb */ color: rgb(129, 128, 23);
/* oklch */ color: oklch(58.2% 0.119 109.0);
Tailwind
colors: {
  custom: {
    50: '#a9a45f',
    500: '#818017',
    950: '#000000',
  },
}
SCSS
$custom: #818017;
$custom-light: #a9a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#818017",
  "rgb": {
    "r": 129,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 59.434,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.58236,
    "c": 0.11884,
    "h": 109
  },
  "luminance": 0.20167
}

Semantic roles & 50–950 ramp

primary
#818017
secondary
#3E40B5
accent
#3DED3B
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #818017

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

Preview Lab → · Contrast checker → · Palette generator →

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