#818E2D#818E2D

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

Color values

HEX#818E2D
RGBrgb(129, 142, 45)
HSLhsl(68, 52%, 37%)
HSVhsv(68, 68%, 56%)
CMYKcmyk(9.2%, 0%, 68.3%, 44.3%)
CIE-LABlab(56.29, -18.22, 47.93)
CIE-LCHlch(56.29, 51.28, 110.81°)
OKLaboklab(61.69% -0.0542 0.1081)
OKLCHoklch(61.69% 0.121 116.6)
XYZxyz(19.2003, 24.2028, 6.1423)
Luminance0.2420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818E2D #3A2D8E
analogous
#8E6B2D #818E2D #518E2D
triadic
#818E2D #2D818E #8E2D81
tetradic
#818E2D #2D8E6B #3A2D8E #8E2D51
square
#818E2D #2D8E6B #3A2D8E #8E2D51
split-complementary
#818E2D #2D518E #6B2D8E
monochromatic
#2D3110 #57601E #818E2D #ABBC3C #C1CF67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##818E2D#FFFFFF#000000##000000
##818E2D1.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)
#98871F
Deuteranopia (green-blind)
#978834
Tritanopia (blue-blind)
#89867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #818e2d;
/* rgb */ color: rgb(129, 142, 45);
/* oklch */ color: oklch(61.7% 0.121 116.6);
Tailwind
colors: {
  custom: {
    50: '#a8af6c',
    500: '#818e2d',
    950: '#000000',
  },
}
SCSS
$custom: #818e2d;
$custom-light: #a8af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#818e2d",
  "rgb": {
    "r": 129,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 68.041,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61693,
    "c": 0.12091,
    "h": 116.6
  },
  "luminance": 0.24203
}

Semantic roles & 50–950 ramp

primary
#818E2D
secondary
#6D61B5
accent
#4CDB60
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #818E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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