#818E2A#818E2A

#818E2A is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.7% C 0.123 H 116.6°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#818E2A
RGBrgb(129, 142, 42)
HSLhsl(68, 54%, 36%)
HSVhsv(68, 70%, 56%)
CMYKcmyk(9.2%, 0%, 70.4%, 44.3%)
CIE-LABlab(56.27, -18.41, 49.14)
CIE-LCHlch(56.27, 52.47, 110.54°)
OKLaboklab(61.67% -0.055 0.1101)
OKLCHoklch(61.67% 0.123 116.6)
XYZxyz(19.1446, 24.1805, 5.8488)
Luminance0.2418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818E2A #372A8E
analogous
#8E692A #818E2A #4F8E2A
triadic
#818E2A #2A818E #8E2A81
tetradic
#818E2A #2A8E69 #372A8E #8E2A4F
square
#818E2A #2A8E69 #372A8E #8E2A4F
split-complementary
#818E2A #2A4F8E #692A8E
monochromatic
#2B300E #565F1C #818E2A #ACBD38 #C2D162

Accessibility & contrast

On white

3.60
#818E2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#818E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818E2A
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818E2A#FFFFFF#000000##000000
##818E2A1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#98861A
Deuteranopia (green-blind)
#978832
Tritanopia (blue-blind)
#89867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #818e2a;
/* rgb */ color: rgb(129, 142, 42);
/* oklch */ color: oklch(61.7% 0.123 116.6);
Tailwind
colors: {
  custom: {
    50: '#a8af6a',
    500: '#818e2a',
    950: '#000000',
  },
}
SCSS
$custom: #818e2a;
$custom-light: #a8af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#818e2a",
  "rgb": {
    "r": 129,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 67.8,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61668,
    "c": 0.1231,
    "h": 116.6
  },
  "luminance": 0.2418
}

Semantic roles & 50–950 ramp

primary
#818E2A
secondary
#695DB6
accent
#4ADE5D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #818E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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