#818F18#818F18

#818F18 is a mid, vivid yellow. Relative luminance 0.244; OKLCH L 61.8% C 0.135 H 116.7°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#818F18
RGBrgb(129, 143, 24)
HSLhsl(67, 71%, 33%)
HSVhsv(67, 83%, 56%)
CMYKcmyk(9.8%, 0%, 83.2%, 43.9%)
CIE-LABlab(56.46, -19.78, 55.45)
CIE-LCHlch(56.46, 58.88, 109.63°)
OKLaboklab(61.79% -0.0604 0.1203)
OKLCHoklch(61.79% 0.135 116.7)
XYZxyz(19.0411, 24.3783, 4.5664)
Luminance0.2438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818F18 #26188F
analogous
#8F6118 #818F18 #458F18
triadic
#818F18 #18818F #8F1881
tetradic
#818F18 #188F61 #26188F #8F1845
square
#818F18 #188F61 #26188F #8F1845
split-complementary
#818F18 #18458F #61188F
monochromatic
#222606 #525B0F #818F18 #B0C321 #CDDF42

Accessibility & contrast

On white

3.57
#818F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#818F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818F18
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818F18#FFFFFF#000000##000000
##818F181.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#988824
Tritanopia (blue-blind)
#8A867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #818f18;
/* rgb */ color: rgb(129, 143, 24);
/* oklch */ color: oklch(61.8% 0.135 116.7);
Tailwind
colors: {
  custom: {
    50: '#a9af62',
    500: '#818f18',
    950: '#000000',
  },
}
SCSS
$custom: #818f18;
$custom-light: #a9af62;
$custom-dark: #000000;
JSON
{
  "hex": "#818f18",
  "rgb": {
    "r": 129,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 67.059,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61794,
    "c": 0.13457,
    "h": 116.7
  },
  "luminance": 0.24378
}

Semantic roles & 50–950 ramp

primary
#818F18
secondary
#5143C0
accent
#3AEE4F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818F18

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

Preview Lab → · Contrast checker → · Palette generator →

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