#818F22#818F22

#818F22 is a mid, vivid yellow. Relative luminance 0.244; OKLCH L 61.8% C 0.129 H 116.8°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#818F22
RGBrgb(129, 143, 34)
HSLhsl(68, 62%, 35%)
HSVhsv(68, 76%, 56%)
CMYKcmyk(9.8%, 0%, 76.2%, 43.9%)
CIE-LABlab(56.51, -19.36, 52.38)
CIE-LCHlch(56.51, 55.84, 110.29°)
OKLaboklab(61.85% -0.0584 0.1155)
OKLCHoklch(61.85% 0.129 116.8)
XYZxyz(19.1649, 24.4278, 5.2185)
Luminance0.2443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818F22 #30228F
analogous
#8F6622 #818F22 #4B8F22
triadic
#818F22 #22818F #8F2281
tetradic
#818F22 #228F66 #30228F #8F224B
square
#818F22 #228F66 #30228F #8F224B
split-complementary
#818F22 #224B8F #66228F
monochromatic
#282C0A #545E16 #818F22 #AEC02E #C6D755

Accessibility & contrast

On white

3.57
#818F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#818F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818F22
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818F22#FFFFFF#000000##000000
##818F221.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#998709
Deuteranopia (green-blind)
#98882C
Tritanopia (blue-blind)
#89877A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #818f22;
/* rgb */ color: rgb(129, 143, 34);
/* oklch */ color: oklch(61.8% 0.129 116.8);
Tailwind
colors: {
  custom: {
    50: '#a9af66',
    500: '#818f22',
    950: '#000000',
  },
}
SCSS
$custom: #818f22;
$custom-light: #a9af66;
$custom-dark: #000000;
JSON
{
  "hex": "#818f22",
  "rgb": {
    "r": 129,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 67.706,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.61849,
    "c": 0.12947,
    "h": 116.8
  },
  "luminance": 0.24428
}

Semantic roles & 50–950 ramp

primary
#818F22
secondary
#6052BA
accent
#43E558
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818F22

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

Preview Lab → · Contrast checker → · Palette generator →

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