#818124#818124

#818124 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.6% C 0.112 H 109.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#818124
RGBrgb(129, 129, 36)
HSLhsl(60, 56%, 32%)
HSVhsv(60, 72%, 51%)
CMYKcmyk(0%, 0%, 72.1%, 49.4%)
CIE-LABlab(52.39, -11.86, 47.67)
CIE-LCHlch(52.39, 49.13, 103.97°)
OKLaboklab(58.55% -0.0374 0.106)
OKLCHoklch(58.55% 0.112 109.4)
XYZxyz(17.2226, 20.4955, 4.7175)
Luminance0.2049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818124 #242481
analogous
#815324 #818124 #538124
triadic
#818124 #248181 #812481
tetradic
#818124 #248153 #242481 #812453
square
#818124 #248153 #242481 #812453
split-complementary
#818124 #245381 #532481
monochromatic
#212109 #515117 #818124 #B1B131 #CECE51

Accessibility & contrast

On white

4.12
#818124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#818124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818124
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818124#FFFFFF#000000##000000
##8181241.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B14
Deuteranopia (green-blind)
#8D7E2B
Tritanopia (blue-blind)
#8A796F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #818124;
/* rgb */ color: rgb(129, 129, 36);
/* oklch */ color: oklch(58.6% 0.112 109.4);
Tailwind
colors: {
  custom: {
    50: '#a8a565',
    500: '#818124',
    950: '#000000',
  },
}
SCSS
$custom: #818124;
$custom-light: #a8a565;
$custom-dark: #000000;
JSON
{
  "hex": "#818124",
  "rgb": {
    "r": 129,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 60,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58552,
    "c": 0.11236,
    "h": 109.4
  },
  "luminance": 0.20495
}

Semantic roles & 50–950 ramp

primary
#818124
secondary
#4E4EB2
accent
#48E048
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #818124

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

Preview Lab → · Contrast checker → · Palette generator →

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