#818F12#818F12

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

Color values

HEX#818F12
RGBrgb(129, 143, 18)
HSLhsl(67, 78%, 32%)
HSVhsv(67, 87%, 56%)
CMYKcmyk(9.8%, 0%, 87.4%, 43.9%)
CIE-LABlab(56.44, -19.97, 56.93)
CIE-LCHlch(56.44, 60.34, 109.33°)
OKLaboklab(61.77% -0.0613 0.1224)
OKLCHoklch(61.77% 0.137 116.6)
XYZxyz(18.9854, 24.3560, 4.2732)
Luminance0.2436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818F12 #20128F
analogous
#8F5F12 #818F12 #438F12
triadic
#818F12 #12818F #8F1281
tetradic
#818F12 #128F5F #20128F #8F1243
square
#818F12 #128F5F #20128F #8F1243
split-complementary
#818F12 #12438F #5F128F
monochromatic
#1F2204 #50590B #818F12 #B2C519 #D2E636

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##818F12#FFFFFF#000000##000000
##818F121.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)
#988821
Tritanopia (blue-blind)
#8A8679
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #818f12;
/* rgb */ color: rgb(129, 143, 18);
/* oklch */ color: oklch(61.8% 0.137 116.6);
Tailwind
colors: {
  custom: {
    50: '#a9af60',
    500: '#818f12',
    950: '#000000',
  },
}
SCSS
$custom: #818f12;
$custom-light: #a9af60;
$custom-dark: #000000;
JSON
{
  "hex": "#818f12",
  "rgb": {
    "r": 129,
    "g": 143,
    "b": 18
  },
  "hsl": {
    "h": 66.72,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.61769,
    "c": 0.13693,
    "h": 116.6
  },
  "luminance": 0.24356
}

Semantic roles & 50–950 ramp

primary
#818F12
secondary
#493AC3
accent
#34F449
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818F12

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

Preview Lab → · Contrast checker → · Palette generator →

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