#818923#818923

#818923 is a mid, vivid yellow. Relative luminance 0.227; OKLCH L 60.4% C 0.122 H 114.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#818923
RGBrgb(129, 137, 35)
HSLhsl(65, 59%, 34%)
HSVhsv(65, 74%, 54%)
CMYKcmyk(5.8%, 0%, 74.5%, 46.3%)
CIE-LABlab(54.74, -16.19, 50.33)
CIE-LCHlch(54.74, 52.87, 107.83°)
OKLaboklab(60.43% -0.0495 0.1114)
OKLCHoklch(60.43% 0.122 114)
XYZxyz(18.3028, 22.6802, 5.0033)
Luminance0.2268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818923 #2B2389
analogous
#895E23 #818923 #4E8923
triadic
#818923 #238189 #892381
tetradic
#818923 #23895E #2B2389 #89234E
square
#818923 #23895E #2B2389 #89234E
split-complementary
#818923 #234E89 #5E2389
monochromatic
#25280A #535817 #818923 #AFBA2F #C9D353

Accessibility & contrast

On white

3.79
#818923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#818923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818923
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818923#FFFFFF#000000##000000
##8189231.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820F
Deuteranopia (green-blind)
#93842B
Tritanopia (blue-blind)
#8A8175
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #818923;
/* rgb */ color: rgb(129, 137, 35);
/* oklch */ color: oklch(60.4% 0.122 114.0);
Tailwind
colors: {
  custom: {
    50: '#a9ab66',
    500: '#818923',
    950: '#000000',
  },
}
SCSS
$custom: #818923;
$custom-light: #a9ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#818923",
  "rgb": {
    "r": 129,
    "g": 137,
    "b": 35
  },
  "hsl": {
    "h": 64.706,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.60429,
    "c": 0.12192,
    "h": 114
  },
  "luminance": 0.2268
}

Semantic roles & 50–950 ramp

primary
#818923
secondary
#5951B7
accent
#45E252
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818923

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

Preview Lab → · Contrast checker → · Palette generator →

#818923 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva