#818E1B#818E1B

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

Color values

HEX#818E1B
RGBrgb(129, 142, 27)
HSLhsl(67, 68%, 33%)
HSVhsv(67, 81%, 56%)
CMYKcmyk(9.2%, 0%, 81%, 44.3%)
CIE-LABlab(56.18, -19.16, 54.34)
CIE-LCHlch(56.18, 57.62, 109.42°)
OKLaboklab(61.57% -0.0584 0.1184)
OKLCHoklch(61.57% 0.132 116.3)
XYZxyz(18.9246, 24.0925, 4.6901)
Luminance0.2409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818E1B #281B8E
analogous
#8E611B #818E1B #478E1B
triadic
#818E1B #1B818E #8E1B81
tetradic
#818E1B #1B8E61 #281B8E #8E1B47
square
#818E1B #1B8E61 #281B8E #8E1B47
split-complementary
#818E1B #1B478E #611B8E
monochromatic
#242707 #525B11 #818E1B #B0C125 #CBDC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##818E1B#FFFFFF#000000##000000
##818E1B1.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)
#978726
Tritanopia (blue-blind)
#8A8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #818e1b;
/* rgb */ color: rgb(129, 142, 27);
/* oklch */ color: oklch(61.6% 0.132 116.3);
Tailwind
colors: {
  custom: {
    50: '#a9af63',
    500: '#818e1b',
    950: '#000000',
  },
}
SCSS
$custom: #818e1b;
$custom-light: #a9af63;
$custom-dark: #000000;
JSON
{
  "hex": "#818e1b",
  "rgb": {
    "r": 129,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 66.783,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.6157,
    "c": 0.13206,
    "h": 116.3
  },
  "luminance": 0.24092
}

Semantic roles & 50–950 ramp

primary
#818E1B
secondary
#5447BE
accent
#3DEB51
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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