#818E18#818E18

#818E18 is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.6% C 0.133 H 116.2°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#818E18
RGBrgb(129, 142, 24)
HSLhsl(67, 71%, 33%)
HSVhsv(67, 83%, 56%)
CMYKcmyk(9.2%, 0%, 83.1%, 44.3%)
CIE-LABlab(56.17, -19.27, 55.19)
CIE-LCHlch(56.17, 58.46, 109.24°)
OKLaboklab(61.56% -0.059 0.1197)
OKLCHoklch(61.56% 0.133 116.2)
XYZxyz(18.8917, 24.0794, 4.5166)
Luminance0.2408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818E18 #25188E
analogous
#8E6018 #818E18 #468E18
triadic
#818E18 #18818E #8E1881
tetradic
#818E18 #188E60 #25188E #8E1846
square
#818E18 #188E60 #25188E #8E1846
split-complementary
#818E18 #18468E #60188E
monochromatic
#222506 #515A0F #818E18 #B1C221 #CEDF41

Accessibility & contrast

On white

3.61
#818E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#818E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818E18
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818E18#FFFFFF#000000##000000
##818E181.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#978724
Tritanopia (blue-blind)
#8A8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #818e18;
/* rgb */ color: rgb(129, 142, 24);
/* oklch */ color: oklch(61.6% 0.133 116.2);
Tailwind
colors: {
  custom: {
    50: '#a9ae62',
    500: '#818e18',
    950: '#000000',
  },
}
SCSS
$custom: #818e18;
$custom-light: #a9ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#818e18",
  "rgb": {
    "r": 129,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 66.61,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61555,
    "c": 0.13345,
    "h": 116.2
  },
  "luminance": 0.24079
}

Semantic roles & 50–950 ramp

primary
#818E18
secondary
#5042C0
accent
#3AEE4E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818E18

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

Preview Lab → · Contrast checker → · Palette generator →

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