#818F14#818F14

#818F14 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#818F14
RGBrgb(129, 143, 20)
HSLhsl(67, 75%, 32%)
HSVhsv(67, 86%, 56%)
CMYKcmyk(9.8%, 0%, 86%, 43.9%)
CIE-LABlab(56.45, -19.91, 56.47)
CIE-LCHlch(56.45, 59.88, 109.42°)
OKLaboklab(61.78% -0.061 0.1218)
OKLCHoklch(61.78% 0.136 116.6)
XYZxyz(19.0025, 24.3628, 4.3631)
Luminance0.2436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818F14 #22148F
analogous
#8F6014 #818F14 #448F14
triadic
#818F14 #14818F #8F1481
tetradic
#818F14 #148F60 #22148F #8F1444
square
#818F14 #148F60 #22148F #8F1444
split-complementary
#818F14 #14448F #60148F
monochromatic
#202405 #51590C #818F14 #B1C51C #D0E33A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##818F14#FFFFFF#000000##000000
##818F141.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)
#988822
Tritanopia (blue-blind)
#8A867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #818f14;
/* rgb */ color: rgb(129, 143, 20);
/* oklch */ color: oklch(61.8% 0.136 116.6);
Tailwind
colors: {
  custom: {
    50: '#a9af60',
    500: '#818f14',
    950: '#000000',
  },
}
SCSS
$custom: #818f14;
$custom-light: #a9af60;
$custom-dark: #000000;
JSON
{
  "hex": "#818f14",
  "rgb": {
    "r": 129,
    "g": 143,
    "b": 20
  },
  "hsl": {
    "h": 66.829,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61777,
    "c": 0.1362,
    "h": 116.6
  },
  "luminance": 0.24363
}

Semantic roles & 50–950 ramp

primary
#818F14
secondary
#4B3CC3
accent
#36F24B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818F14

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

Preview Lab → · Contrast checker → · Palette generator →

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