#818E1C#818E1C

#818E1C is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.6% C 0.132 H 116.3°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#818E1C
RGBrgb(129, 142, 28)
HSLhsl(67, 67%, 33%)
HSVhsv(67, 80%, 56%)
CMYKcmyk(9.2%, 0%, 80.3%, 44.3%)
CIE-LABlab(56.19, -19.12, 54.04)
CIE-LCHlch(56.19, 57.32, 109.48°)
OKLaboklab(61.58% -0.0583 0.118)
OKLCHoklch(61.58% 0.132 116.3)
XYZxyz(18.9364, 24.0972, 4.7521)
Luminance0.2410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818E1C #291C8E
analogous
#8E621C #818E1C #488E1C
triadic
#818E1C #1C818E #8E1C81
tetradic
#818E1C #1C8E62 #291C8E #8E1C48
square
#818E1C #1C8E62 #291C8E #8E1C48
split-complementary
#818E1C #1C488E #621C8E
monochromatic
#242808 #535B12 #818E1C #AFC126 #CBDB49

Accessibility & contrast

On white

3.61
#818E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#818E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818E1C
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818E1C#FFFFFF#000000##000000
##818E1C1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#978727
Tritanopia (blue-blind)
#8A8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #818e1c;
/* rgb */ color: rgb(129, 142, 28);
/* oklch */ color: oklch(61.6% 0.132 116.3);
Tailwind
colors: {
  custom: {
    50: '#a9af63',
    500: '#818e1c',
    950: '#000000',
  },
}
SCSS
$custom: #818e1c;
$custom-light: #a9af63;
$custom-dark: #000000;
JSON
{
  "hex": "#818e1c",
  "rgb": {
    "r": 129,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 66.842,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61575,
    "c": 0.13157,
    "h": 116.3
  },
  "luminance": 0.24097
}

Semantic roles & 50–950 ramp

primary
#818E1C
secondary
#5649BD
accent
#3EEA51
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #818E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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