#818E1D#818E1D

#818E1D is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.6% C 0.131 H 116.3°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#818E1D
RGBrgb(129, 142, 29)
HSLhsl(67, 66%, 34%)
HSVhsv(67, 80%, 56%)
CMYKcmyk(9.2%, 0%, 79.6%, 44.3%)
CIE-LABlab(56.19, -19.07, 53.73)
CIE-LCHlch(56.19, 57.02, 109.54°)
OKLaboklab(61.58% -0.0581 0.1175)
OKLCHoklch(61.58% 0.131 116.3)
XYZxyz(18.9485, 24.1021, 4.8161)
Luminance0.2410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818E1D #2A1D8E
analogous
#8E621D #818E1D #488E1D
triadic
#818E1D #1D818E #8E1D81
tetradic
#818E1D #1D8E62 #2A1D8E #8E1D48
square
#818E1D #1D8E62 #2A1D8E #8E1D48
split-complementary
#818E1D #1D488E #621D8E
monochromatic
#252808 #535B13 #818E1D #AFC127 #CADA4B

Accessibility & contrast

On white

3.61
#818E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#818E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818E1D
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818E1D#FFFFFF#000000##000000
##818E1D1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#978728
Tritanopia (blue-blind)
#8A8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #818e1d;
/* rgb */ color: rgb(129, 142, 29);
/* oklch */ color: oklch(61.6% 0.131 116.3);
Tailwind
colors: {
  custom: {
    50: '#a9af64',
    500: '#818e1d',
    950: '#000000',
  },
}
SCSS
$custom: #818e1d;
$custom-light: #a9af64;
$custom-dark: #000000;
JSON
{
  "hex": "#818e1d",
  "rgb": {
    "r": 129,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 66.903,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61581,
    "c": 0.13106,
    "h": 116.3
  },
  "luminance": 0.24102
}

Semantic roles & 50–950 ramp

primary
#818E1D
secondary
#574ABD
accent
#3FE952
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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