#818E27#818E27

#818E27 is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.6% C 0.125 H 116.5°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#818E27
RGBrgb(129, 142, 39)
HSLhsl(68, 57%, 35%)
HSVhsv(68, 73%, 56%)
CMYKcmyk(9.2%, 0%, 72.5%, 44.3%)
CIE-LABlab(56.25, -18.58, 50.29)
CIE-LCHlch(56.25, 53.61, 110.28°)
OKLaboklab(61.65% -0.0558 0.112)
OKLCHoklch(61.65% 0.125 116.5)
XYZxyz(19.0929, 24.1599, 5.5766)
Luminance0.2416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818E27 #34278E
analogous
#8E6727 #818E27 #4D8E27
triadic
#818E27 #27818E #8E2781
tetradic
#818E27 #278E67 #34278E #8E274D
square
#818E27 #278E67 #34278E #8E274D
split-complementary
#818E27 #274D8E #67278E
monochromatic
#2A2E0D #555E1A #818E27 #ADBE34 #C4D25D

Accessibility & contrast

On white

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

On black

5.83
#818E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818E27
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818E27#FFFFFF#000000##000000
##818E271.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988615
Deuteranopia (green-blind)
#97882F
Tritanopia (blue-blind)
#89867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #818e27;
/* rgb */ color: rgb(129, 142, 39);
/* oklch */ color: oklch(61.6% 0.125 116.5);
Tailwind
colors: {
  custom: {
    50: '#a8af68',
    500: '#818e27',
    950: '#000000',
  },
}
SCSS
$custom: #818e27;
$custom-light: #a8af68;
$custom-dark: #000000;
JSON
{
  "hex": "#818e27",
  "rgb": {
    "r": 129,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 67.573,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61645,
    "c": 0.12516,
    "h": 116.5
  },
  "luminance": 0.2416
}

Semantic roles & 50–950 ramp

primary
#818E27
secondary
#6559B8
accent
#48E05B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #818E27

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

Preview Lab → · Contrast checker → · Palette generator →

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