#818A1A#818A1A

#818A1A is a mid, vivid yellow. Relative luminance 0.229; OKLCH L 60.6% C 0.128 H 114.4°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#818A1A
RGBrgb(129, 138, 26)
HSLhsl(65, 68%, 32%)
HSVhsv(65, 81%, 54%)
CMYKcmyk(6.5%, 0%, 81.2%, 45.9%)
CIE-LABlab(54.99, -17.12, 53.58)
CIE-LCHlch(54.99, 56.25, 107.72°)
OKLaboklab(60.61% -0.0529 0.1166)
OKLCHoklch(60.61% 0.128 114.4)
XYZxyz(18.3288, 22.9190, 4.4354)
Luminance0.2292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818A1A #231A8A
analogous
#8A5B1A #818A1A #498A1A
triadic
#818A1A #1A818A #8A1A81
tetradic
#818A1A #1A8A5B #231A8A #8A1A49
square
#818A1A #1A8A5B #231A8A #8A1A49
split-complementary
#818A1A #1A498A #5B1A8A
monochromatic
#212307 #515710 #818A1A #B1BD24 #CFDC43

Accessibility & contrast

On white

3.76
#818A1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#818A1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818A1A
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818A1A#FFFFFF#000000##000000
##818A1A1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#948525
Tritanopia (blue-blind)
#8A8176
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #818a1a;
/* rgb */ color: rgb(129, 138, 26);
/* oklch */ color: oklch(60.6% 0.128 114.4);
Tailwind
colors: {
  custom: {
    50: '#a9ac62',
    500: '#818a1a',
    950: '#000000',
  },
}
SCSS
$custom: #818a1a;
$custom-light: #a9ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#818a1a",
  "rgb": {
    "r": 129,
    "g": 138,
    "b": 26
  },
  "hsl": {
    "h": 64.821,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60612,
    "c": 0.12805,
    "h": 114.4
  },
  "luminance": 0.22919
}

Semantic roles & 50–950 ramp

primary
#818A1A
secondary
#4D43BD
accent
#3DEB4B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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