#818D0F#818D0F

#818D0F is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.3% C 0.136 H 115.7°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#818D0F
RGBrgb(129, 141, 15)
HSLhsl(66, 81%, 31%)
HSVhsv(66, 89%, 55%)
CMYKcmyk(8.5%, 0%, 89.4%, 44.7%)
CIE-LABlab(55.84, -19.02, 57.08)
CIE-LCHlch(55.84, 60.17, 108.43°)
OKLaboklab(61.28% -0.0589 0.1223)
OKLCHoklch(61.28% 0.136 115.7)
XYZxyz(18.6649, 23.7517, 4.0531)
Luminance0.2375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818D0F #1B0F8D
analogous
#8D5A0F #818D0F #428D0F
triadic
#818D0F #0F818D #8D0F81
tetradic
#818D0F #0F8D5A #1B0F8D #8D0F42
square
#818D0F #0F8D5A #1B0F8D #8D0F42
split-complementary
#818D0F #0F428D #5A0F8D
monochromatic
#1C1E03 #4E5609 #818D0F #B4C415 #D7E92E

Accessibility & contrast

On white

3.65
#818D0F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#818D0F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818D0F
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818D0F#FFFFFF#000000##000000
##818D0F1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#97871F
Tritanopia (blue-blind)
#8A8478
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #818d0f;
/* rgb */ color: rgb(129, 141, 15);
/* oklch */ color: oklch(61.3% 0.136 115.7);
Tailwind
colors: {
  custom: {
    50: '#a9ae5e',
    500: '#818d0f',
    950: '#000000',
  },
}
SCSS
$custom: #818d0f;
$custom-light: #a9ae5e;
$custom-dark: #000000;
JSON
{
  "hex": "#818d0f",
  "rgb": {
    "r": 129,
    "g": 141,
    "b": 15
  },
  "hsl": {
    "h": 65.714,
    "s": 80.769,
    "l": 30.588
  },
  "oklch": {
    "l": 0.61281,
    "c": 0.13571,
    "h": 115.7
  },
  "luminance": 0.23751
}

Semantic roles & 50–950 ramp

primary
#818D0F
secondary
#4336C2
accent
#31F744
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#101005
muted
#7F7F79

Preview Lab

Preview with #818D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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