#818118#818118

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

Color values

HEX#818118
RGBrgb(129, 129, 24)
HSLhsl(60, 69%, 30%)
HSVhsv(60, 81%, 51%)
CMYKcmyk(0%, 0%, 81.4%, 49.4%)
CIE-LABlab(52.32, -12.41, 51.82)
CIE-LCHlch(52.32, 53.29, 103.47°)
OKLaboklab(58.48% -0.04 0.1125)
OKLCHoklch(58.48% 0.119 109.6)
XYZxyz(17.0690, 20.4341, 3.9090)
Luminance0.2043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818118 #181881
analogous
#814C18 #818118 #4D8118
triadic
#818118 #188181 #811881
tetradic
#818118 #18814D #181881 #81184D
square
#818118 #18814D #181881 #81184D
split-complementary
#818118 #184C81 #4C1881
monochromatic
#1A1A05 #4D4D0E #818118 #B5B522 #DADA39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##818118#FFFFFF#000000##000000
##8181181.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)
#8D7E22
Tritanopia (blue-blind)
#8B786E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #818118;
/* rgb */ color: rgb(129, 129, 24);
/* oklch */ color: oklch(58.5% 0.119 109.6);
Tailwind
colors: {
  custom: {
    50: '#a9a560',
    500: '#818118',
    950: '#000000',
  },
}
SCSS
$custom: #818118;
$custom-light: #a9a560;
$custom-dark: #000000;
JSON
{
  "hex": "#818118",
  "rgb": {
    "r": 129,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 60,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.58475,
    "c": 0.11938,
    "h": 109.6
  },
  "luminance": 0.20434
}

Semantic roles & 50–950 ramp

primary
#818118
secondary
#4040B5
accent
#3CEB3C
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #818118

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

Preview Lab → · Contrast checker → · Palette generator →

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