#818F1B#818F1B

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

Color values

HEX#818F1B
RGBrgb(129, 143, 27)
HSLhsl(67, 68%, 33%)
HSVhsv(67, 81%, 56%)
CMYKcmyk(9.8%, 0%, 81.1%, 43.9%)
CIE-LABlab(56.48, -19.67, 54.61)
CIE-LCHlch(56.48, 58.04, 109.81°)
OKLaboklab(61.81% -0.0599 0.119)
OKLCHoklch(61.81% 0.133 116.7)
XYZxyz(19.0741, 24.3914, 4.7399)
Luminance0.2439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818F1B #291B8F
analogous
#8F631B #818F1B #478F1B
triadic
#818F1B #1B818F #8F1B81
tetradic
#818F1B #1B8F63 #291B8F #8F1B47
square
#818F1B #1B8F63 #291B8F #8F1B47
split-complementary
#818F1B #1B478F #631B8F
monochromatic
#242808 #535C11 #818F1B #AFC225 #CBDC48

Accessibility & contrast

On white

3.57
#818F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#818F1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818F1B
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818F1B#FFFFFF#000000##000000
##818F1B1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#988826
Tritanopia (blue-blind)
#8A867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #818f1b;
/* rgb */ color: rgb(129, 143, 27);
/* oklch */ color: oklch(61.8% 0.133 116.7);
Tailwind
colors: {
  custom: {
    50: '#a9af63',
    500: '#818f1b',
    950: '#000000',
  },
}
SCSS
$custom: #818f1b;
$custom-light: #a9af63;
$custom-dark: #000000;
JSON
{
  "hex": "#818f1b",
  "rgb": {
    "r": 129,
    "g": 143,
    "b": 27
  },
  "hsl": {
    "h": 67.241,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61809,
    "c": 0.1332,
    "h": 116.7
  },
  "luminance": 0.24391
}

Semantic roles & 50–950 ramp

primary
#818F1B
secondary
#5648BE
accent
#3DEB52
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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