#818E2E#818E2E

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

Color values

HEX#818E2E
RGBrgb(129, 142, 46)
HSLhsl(68, 51%, 37%)
HSVhsv(68, 68%, 56%)
CMYKcmyk(9.2%, 0%, 67.6%, 44.3%)
CIE-LABlab(56.30, -18.15, 47.52)
CIE-LCHlch(56.30, 50.87, 110.91°)
OKLaboklab(61.7% -0.0539 0.1074)
OKLCHoklch(61.7% 0.12 116.7)
XYZxyz(19.2198, 24.2106, 6.2449)
Luminance0.2421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818E2E #3B2E8E
analogous
#8E6B2E #818E2E #518E2E
triadic
#818E2E #2E818E #8E2E81
tetradic
#818E2E #2E8E6B #3B2E8E #8E2E51
square
#818E2E #2E8E6B #3B2E8E #8E2E51
split-complementary
#818E2E #2E518E #6B2E8E
monochromatic
#2D3210 #57601F #818E2E #ABBC3D #C0CE68

Accessibility & contrast

On white

3.59
#818E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##818E2E#FFFFFF#000000##000000
##818E2E1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988721
Deuteranopia (green-blind)
#968835
Tritanopia (blue-blind)
#89867B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #818e2e;
/* rgb */ color: rgb(129, 142, 46);
/* oklch */ color: oklch(61.7% 0.120 116.7);
Tailwind
colors: {
  custom: {
    50: '#a8af6c',
    500: '#818e2e',
    950: '#000000',
  },
}
SCSS
$custom: #818e2e;
$custom-light: #a8af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#818e2e",
  "rgb": {
    "r": 129,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 68.125,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61702,
    "c": 0.12014,
    "h": 116.7
  },
  "luminance": 0.2421
}

Semantic roles & 50–950 ramp

primary
#818E2E
secondary
#6E63B5
accent
#4DDB60
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #818E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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