#818E2F#818E2F

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

Color values

HEX#818E2F
RGBrgb(129, 142, 47)
HSLhsl(68, 50%, 37%)
HSVhsv(68, 67%, 56%)
CMYKcmyk(9.2%, 0%, 66.9%, 44.3%)
CIE-LABlab(56.31, -18.09, 47.11)
CIE-LCHlch(56.31, 50.46, 111.00°)
OKLaboklab(61.71% -0.0536 0.1067)
OKLCHoklch(61.71% 0.119 116.7)
XYZxyz(19.2398, 24.2186, 6.3499)
Luminance0.2422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818E2F #3C2F8E
analogous
#8E6C2F #818E2F #518E2F
triadic
#818E2F #2F818E #8E2F81
tetradic
#818E2F #2F8E6C #3C2F8E #8E2F51
square
#818E2F #2F8E6C #3C2F8E #8E2F51
split-complementary
#818E2F #2F518E #6C2F8E
monochromatic
#2D3211 #576020 #818E2F #ABBC3E #C0CE6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##818E2F#FFFFFF#000000##000000
##818E2F1.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)
#988722
Deuteranopia (green-blind)
#968836
Tritanopia (blue-blind)
#89867B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #818e2f;
/* rgb */ color: rgb(129, 142, 47);
/* oklch */ color: oklch(61.7% 0.119 116.7);
Tailwind
colors: {
  custom: {
    50: '#a8af6d',
    500: '#818e2f',
    950: '#000000',
  },
}
SCSS
$custom: #818e2f;
$custom-light: #a8af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#818e2f",
  "rgb": {
    "r": 129,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 68.211,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61711,
    "c": 0.11937,
    "h": 116.7
  },
  "luminance": 0.24218
}

Semantic roles & 50–950 ramp

primary
#818E2F
secondary
#6F64B5
accent
#4EDA61
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #818E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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