#818F15#818F15

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

Color values

HEX#818F15
RGBrgb(129, 143, 21)
HSLhsl(67, 74%, 32%)
HSVhsv(67, 85%, 56%)
CMYKcmyk(9.8%, 0%, 85.3%, 43.9%)
CIE-LABlab(56.45, -19.88, 56.23)
CIE-LCHlch(56.45, 59.64, 109.47°)
OKLaboklab(61.78% -0.0609 0.1214)
OKLCHoklch(61.78% 0.136 116.6)
XYZxyz(19.0116, 24.3665, 4.4110)
Luminance0.2437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818F15 #23158F
analogous
#8F6015 #818F15 #448F15
triadic
#818F15 #15818F #8F1581
tetradic
#818F15 #158F60 #23158F #8F1544
square
#818F15 #158F60 #23158F #8F1544
split-complementary
#818F15 #15448F #60158F
monochromatic
#212405 #515A0D #818F15 #B1C41D #CFE23C

Accessibility & contrast

On white

3.58
#818F15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#818F15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818F15
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818F15#FFFFFF#000000##000000
##818F151.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#988823
Tritanopia (blue-blind)
#8A867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #818f15;
/* rgb */ color: rgb(129, 143, 21);
/* oklch */ color: oklch(61.8% 0.136 116.6);
Tailwind
colors: {
  custom: {
    50: '#a9af61',
    500: '#818f15',
    950: '#000000',
  },
}
SCSS
$custom: #818f15;
$custom-light: #a9af61;
$custom-dark: #000000;
JSON
{
  "hex": "#818f15",
  "rgb": {
    "r": 129,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 66.885,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.61781,
    "c": 0.13581,
    "h": 116.6
  },
  "luminance": 0.24366
}

Semantic roles & 50–950 ramp

primary
#818F15
secondary
#4D3EC2
accent
#37F14C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818F15

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

Preview Lab → · Contrast checker → · Palette generator →

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