#818C18#818C18

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

Color values

HEX#818C18
RGBrgb(129, 140, 24)
HSLhsl(66, 71%, 32%)
HSVhsv(66, 83%, 55%)
CMYKcmyk(7.9%, 0%, 82.9%, 45.1%)
CIE-LABlab(55.57, -18.23, 54.67)
CIE-LCHlch(55.57, 57.64, 108.44°)
OKLaboklab(61.08% -0.0561 0.1186)
OKLCHoklch(61.08% 0.131 115.3)
XYZxyz(18.5968, 23.4896, 4.4183)
Luminance0.2349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818C18 #23188C
analogous
#8C5D18 #818C18 #478C18
triadic
#818C18 #18818C #8C1881
tetradic
#818C18 #188C5D #23188C #8C1847
square
#818C18 #188C5D #23188C #8C1847
split-complementary
#818C18 #18478C #5D188C
monochromatic
#212406 #51580F #818C18 #B1C021 #CFDE40

Accessibility & contrast

On white

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

On black

5.70
#818C18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818C18
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818C18#FFFFFF#000000##000000
##818C181.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #818c18;
/* rgb */ color: rgb(129, 140, 24);
/* oklch */ color: oklch(61.1% 0.131 115.3);
Tailwind
colors: {
  custom: {
    50: '#a9ad61',
    500: '#818c18',
    950: '#000000',
  },
}
SCSS
$custom: #818c18;
$custom-light: #a9ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#818c18",
  "rgb": {
    "r": 129,
    "g": 140,
    "b": 24
  },
  "hsl": {
    "h": 65.69,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.61078,
    "c": 0.13121,
    "h": 115.3
  },
  "luminance": 0.23489
}

Semantic roles & 50–950 ramp

primary
#818C18
secondary
#4D41BF
accent
#3AED4B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818C18

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

Preview Lab → · Contrast checker → · Palette generator →

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