#818117#818117

#818117 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.5% C 0.120 H 109.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#818117
RGBrgb(129, 129, 23)
HSLhsl(60, 70%, 30%)
HSVhsv(60, 82%, 51%)
CMYKcmyk(0%, 0%, 82.2%, 49.4%)
CIE-LABlab(52.32, -12.45, 52.12)
CIE-LCHlch(52.32, 53.58, 103.43°)
OKLaboklab(58.47% -0.0402 0.1129)
OKLCHoklch(58.47% 0.12 109.6)
XYZxyz(17.0588, 20.4300, 3.8552)
Luminance0.2043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818117 #171781
analogous
#814C17 #818117 #4C8117
triadic
#818117 #178181 #811781
tetradic
#818117 #17814C #171781 #81174C
square
#818117 #17814C #171781 #81174C
split-complementary
#818117 #174C81 #4C1781
monochromatic
#1A1A05 #4D4D0E #818117 #B5B520 #DBDB37

Accessibility & contrast

On white

4.13
#818117 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#818117 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818117
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818117#FFFFFF#000000##000000
##8181171.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8D7E21
Tritanopia (blue-blind)
#8B786E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #818117;
/* rgb */ color: rgb(129, 129, 23);
/* oklch */ color: oklch(58.5% 0.120 109.6);
Tailwind
colors: {
  custom: {
    50: '#a9a55f',
    500: '#818117',
    950: '#000000',
  },
}
SCSS
$custom: #818117;
$custom-light: #a9a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#818117",
  "rgb": {
    "r": 129,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 60,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5847,
    "c": 0.11986,
    "h": 109.6
  },
  "luminance": 0.2043
}

Semantic roles & 50–950 ramp

primary
#818117
secondary
#3E3EB5
accent
#3BED3B
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #818117

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

Preview Lab → · Contrast checker → · Palette generator →

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