#8C8229#8C8229

#8C8229 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.9% C 0.108 H 102.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8C8229
RGBrgb(140, 130, 41)
HSLhsl(54, 55%, 35%)
HSVhsv(54, 71%, 55%)
CMYKcmyk(0%, 7.1%, 70.7%, 45.1%)
CIE-LABlab(53.71, -7.10, 47.28)
CIE-LCHlch(53.71, 47.81, 98.54°)
OKLaboklab(59.85% -0.0241 0.1057)
OKLCHoklch(59.85% 0.108 102.8)
XYZxyz(19.1989, 21.7016, 5.2749)
Luminance0.2170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8229 #29338C
analogous
#8C5029 #8C8229 #658C29
triadic
#8C8229 #298C82 #82298C
tetradic
#8C8229 #298C50 #29338C #8C2965
square
#8C8229 #298C50 #29338C #8C2965
split-complementary
#8C8229 #29658C #50298C
monochromatic
#2D2A0D #5D561B #8C8229 #BBAE37 #D0C55F

Accessibility & contrast

On white

3.93
#8C8229 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#8C8229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8229
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8229#FFFFFF#000000##000000
##8C82291.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1C
Deuteranopia (green-blind)
#91822F
Tritanopia (blue-blind)
#977970
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8c8229;
/* rgb */ color: rgb(140, 130, 41);
/* oklch */ color: oklch(59.9% 0.108 102.8);
Tailwind
colors: {
  custom: {
    50: '#b1a668',
    500: '#8c8229',
    950: '#000000',
  },
}
SCSS
$custom: #8c8229;
$custom-light: #b1a668;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8229",
  "rgb": {
    "r": 140,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 53.939,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59851,
    "c": 0.10839,
    "h": 102.8
  },
  "luminance": 0.21701
}

Semantic roles & 50–950 ramp

primary
#8C8229
secondary
#5B64B6
accent
#59DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8C8229

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

Preview Lab → · Contrast checker → · Palette generator →

#8C8229 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva