#818D30#818D30

#818D30 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.5% C 0.117 H 116.2°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#818D30
RGBrgb(129, 141, 48)
HSLhsl(68, 49%, 37%)
HSVhsv(68, 66%, 55%)
CMYKcmyk(8.5%, 0%, 66%, 44.7%)
CIE-LABlab(56.02, -17.50, 46.37)
CIE-LCHlch(56.02, 49.56, 110.67°)
OKLaboklab(61.48% -0.0519 0.1053)
OKLCHoklch(61.48% 0.117 116.2)
XYZxyz(19.1121, 23.9305, 6.4080)
Luminance0.2393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818D30 #3C308D
analogous
#8D6B30 #818D30 #538D30
triadic
#818D30 #30818D #8D3081
tetradic
#818D30 #308D6B #3C308D #8D3053
square
#818D30 #308D6B #3C308D #8D3053
split-complementary
#818D30 #30538D #6B308D
monochromatic
#2D3211 #575F20 #818D30 #ABBB40 #C0CD6B

Accessibility & contrast

On white

3.63
#818D30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#818D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818D30
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818D30#FFFFFF#000000##000000
##818D301.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978624
Deuteranopia (green-blind)
#968736
Tritanopia (blue-blind)
#89857A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #818d30;
/* rgb */ color: rgb(129, 141, 48);
/* oklch */ color: oklch(61.5% 0.117 116.2);
Tailwind
colors: {
  custom: {
    50: '#a8ae6d',
    500: '#818d30',
    950: '#000000',
  },
}
SCSS
$custom: #818d30;
$custom-light: #a8ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#818d30",
  "rgb": {
    "r": 129,
    "g": 141,
    "b": 48
  },
  "hsl": {
    "h": 67.742,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61483,
    "c": 0.11736,
    "h": 116.2
  },
  "luminance": 0.2393
}

Semantic roles & 50–950 ramp

primary
#818D30
secondary
#6F65B4
accent
#4FD961
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #818D30

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

Preview Lab → · Contrast checker → · Palette generator →

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