#818A14#818A14

#818A14 is a mid, vivid yellow. Relative luminance 0.229; OKLCH L 60.6% C 0.131 H 114.4°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#818A14
RGBrgb(129, 138, 20)
HSLhsl(65, 75%, 31%)
HSVhsv(65, 86%, 54%)
CMYKcmyk(6.5%, 0%, 85.5%, 45.9%)
CIE-LABlab(54.96, -17.33, 55.22)
CIE-LCHlch(54.96, 57.87, 107.42°)
OKLaboklab(60.58% -0.0539 0.1191)
OKLCHoklch(60.58% 0.131 114.4)
XYZxyz(18.2686, 22.8950, 4.1185)
Luminance0.2289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818A14 #1D148A
analogous
#8A5814 #818A14 #468A14
triadic
#818A14 #14818A #8A1481
tetradic
#818A14 #148A58 #1D148A #8A1446
square
#818A14 #148A58 #1D148A #8A1446
split-complementary
#818A14 #14468A #58148A
monochromatic
#1D1F05 #4F550C #818A14 #B3BF1C #D5E236

Accessibility & contrast

On white

3.76
#818A14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#818A14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818A14
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818A14#FFFFFF#000000##000000
##818A141.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#948521
Tritanopia (blue-blind)
#8A8175
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #818a14;
/* rgb */ color: rgb(129, 138, 20);
/* oklch */ color: oklch(60.6% 0.131 114.4);
Tailwind
colors: {
  custom: {
    50: '#a9ac60',
    500: '#818a14',
    950: '#000000',
  },
}
SCSS
$custom: #818a14;
$custom-light: #a9ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#818a14",
  "rgb": {
    "r": 129,
    "g": 138,
    "b": 20
  },
  "hsl": {
    "h": 64.576,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.60584,
    "c": 0.13069,
    "h": 114.4
  },
  "luminance": 0.22895
}

Semantic roles & 50–950 ramp

primary
#818A14
secondary
#463CBE
accent
#36F145
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818A14

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

Preview Lab → · Contrast checker → · Palette generator →

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