#818B14#818B14

#818B14 is a mid, vivid yellow. Relative luminance 0.232; OKLCH L 60.8% C 0.132 H 114.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#818B14
RGBrgb(129, 139, 20)
HSLhsl(65, 75%, 31%)
HSVhsv(65, 86%, 55%)
CMYKcmyk(7.2%, 0%, 85.6%, 45.5%)
CIE-LABlab(55.26, -17.85, 55.47)
CIE-LCHlch(55.26, 58.27, 107.84°)
OKLaboklab(60.82% -0.0553 0.1196)
OKLCHoklch(60.82% 0.132 114.8)
XYZxyz(18.4127, 23.1832, 4.1665)
Luminance0.2318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818B14 #1E148B
analogous
#8B5914 #818B14 #458B14
triadic
#818B14 #14818B #8B1481
tetradic
#818B14 #148B59 #1E148B #8B1445
square
#818B14 #148B59 #1E148B #8B1445
split-complementary
#818B14 #14458B #59148B
monochromatic
#1E2005 #4F550C #818B14 #B3C11C #D4E237

Accessibility & contrast

On white

3.73
#818B14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#818B14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818B14
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818B14#FFFFFF#000000##000000
##818B141.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968300
Deuteranopia (green-blind)
#958521
Tritanopia (blue-blind)
#8A8276
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #818b14;
/* rgb */ color: rgb(129, 139, 20);
/* oklch */ color: oklch(60.8% 0.132 114.8);
Tailwind
colors: {
  custom: {
    50: '#a9ac60',
    500: '#818b14',
    950: '#000000',
  },
}
SCSS
$custom: #818b14;
$custom-light: #a9ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#818b14",
  "rgb": {
    "r": 129,
    "g": 139,
    "b": 20
  },
  "hsl": {
    "h": 65.042,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.60822,
    "c": 0.13178,
    "h": 114.8
  },
  "luminance": 0.23183
}

Semantic roles & 50–950 ramp

primary
#818B14
secondary
#473CBF
accent
#36F146
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818B14

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

Preview Lab → · Contrast checker → · Palette generator →

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