#818C11#818C11

#818C11 is a mid, vivid yellow. Relative luminance 0.235; OKLCH L 61.0% C 0.134 H 115.3°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#818C11
RGBrgb(129, 140, 17)
HSLhsl(65, 78%, 31%)
HSVhsv(65, 88%, 55%)
CMYKcmyk(7.9%, 0%, 87.9%, 45.1%)
CIE-LABlab(55.55, -18.45, 56.42)
CIE-LCHlch(55.55, 59.36, 108.11°)
OKLaboklab(61.05% -0.0572 0.1212)
OKLCHoklch(61.05% 0.134 115.3)
XYZxyz(18.5331, 23.4641, 4.0829)
Luminance0.2346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818C11 #1C118C
analogous
#8C5911 #818C11 #438C11
triadic
#818C11 #11818C #8C1181
tetradic
#818C11 #118C59 #1C118C #8C1143
square
#818C11 #118C59 #1C118C #8C1143
split-complementary
#818C11 #11438C #59118C
monochromatic
#1C1F04 #4F550A #818C11 #B3C318 #D6E631

Accessibility & contrast

On white

3.69
#818C11 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#818C11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818C11
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818C11#FFFFFF#000000##000000
##818C111.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#968620
Tritanopia (blue-blind)
#8A8377
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #818c11;
/* rgb */ color: rgb(129, 140, 17);
/* oklch */ color: oklch(61.0% 0.134 115.3);
Tailwind
colors: {
  custom: {
    50: '#a9ad5f',
    500: '#818c11',
    950: '#000000',
  },
}
SCSS
$custom: #818c11;
$custom-light: #a9ad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#818c11",
  "rgb": {
    "r": 129,
    "g": 140,
    "b": 17
  },
  "hsl": {
    "h": 65.366,
    "s": 78.344,
    "l": 30.784
  },
  "oklch": {
    "l": 0.61049,
    "c": 0.13397,
    "h": 115.3
  },
  "luminance": 0.23464
}

Semantic roles & 50–950 ramp

primary
#818C11
secondary
#4438C1
accent
#33F544
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#101005
muted
#7F7F79

Preview Lab

Preview with #818C11

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

Preview Lab → · Contrast checker → · Palette generator →

#818C11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva