#818918#818918

#818918 is a mid, vivid yellow. Relative luminance 0.226; OKLCH L 60.4% C 0.128 H 113.9°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#818918
RGBrgb(129, 137, 24)
HSLhsl(64, 70%, 32%)
HSVhsv(64, 82%, 54%)
CMYKcmyk(5.8%, 0%, 82.5%, 46.3%)
CIE-LABlab(54.68, -16.67, 53.90)
CIE-LCHlch(54.68, 56.42, 107.18°)
OKLaboklab(60.36% -0.0518 0.1169)
OKLCHoklch(60.36% 0.128 113.9)
XYZxyz(18.1644, 22.6248, 4.2741)
Luminance0.2262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818918 #201889
analogous
#895918 #818918 #498918
triadic
#818918 #188189 #891881
tetradic
#818918 #188959 #201889 #891849
square
#818918 #188959 #201889 #891849
split-complementary
#818918 #184989 #591889
monochromatic
#1F2106 #50550F #818918 #B2BD21 #D2DD3E

Accessibility & contrast

On white

3.80
#818918 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#818918 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818918
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818918#FFFFFF#000000##000000
##8189181.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#938423
Tritanopia (blue-blind)
#8A8075
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #818918;
/* rgb */ color: rgb(129, 137, 24);
/* oklch */ color: oklch(60.4% 0.128 113.9);
Tailwind
colors: {
  custom: {
    50: '#a9ab61',
    500: '#818918',
    950: '#000000',
  },
}
SCSS
$custom: #818918;
$custom-light: #a9ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#818918",
  "rgb": {
    "r": 129,
    "g": 137,
    "b": 24
  },
  "hsl": {
    "h": 64.248,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60364,
    "c": 0.1279,
    "h": 113.9
  },
  "luminance": 0.22624
}

Semantic roles & 50–950 ramp

primary
#818918
secondary
#4940BD
accent
#3BED47
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818918

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

Preview Lab → · Contrast checker → · Palette generator →

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