#838424#838424

#838424 is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.4% C 0.115 H 110.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#838424
RGBrgb(131, 132, 36)
HSLhsl(61, 57%, 33%)
HSVhsv(61, 73%, 52%)
CMYKcmyk(0.8%, 0%, 72.7%, 48.2%)
CIE-LABlab(53.44, -12.57, 48.76)
CIE-LCHlch(53.44, 50.35, 104.45°)
OKLaboklab(59.43% -0.0395 0.1082)
OKLCHoklch(59.43% 0.115 110)
XYZxyz(17.9304, 21.4557, 4.8656)
Luminance0.2145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838424 #252484
analogous
#845524 #838424 #538424
triadic
#838424 #248384 #842483
tetradic
#838424 #248455 #252484 #842453
square
#838424 #248455 #252484 #842453
split-complementary
#838424 #245384 #552484
monochromatic
#24240A #535417 #838424 #B3B431 #CFD052

Accessibility & contrast

On white

3.97
#838424 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#838424 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838424
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838424#FFFFFF#000000##000000
##8384241.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E13
Deuteranopia (green-blind)
#90812B
Tritanopia (blue-blind)
#8C7B71
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #838424;
/* rgb */ color: rgb(131, 132, 36);
/* oklch */ color: oklch(59.4% 0.115 110.0);
Tailwind
colors: {
  custom: {
    50: '#aaa766',
    500: '#838424',
    950: '#000000',
  },
}
SCSS
$custom: #838424;
$custom-light: #aaa766;
$custom-dark: #000000;
JSON
{
  "hex": "#838424",
  "rgb": {
    "r": 131,
    "g": 132,
    "b": 36
  },
  "hsl": {
    "h": 60.625,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59434,
    "c": 0.11517,
    "h": 110
  },
  "luminance": 0.21455
}

Semantic roles & 50–950 ramp

primary
#838424
secondary
#5150B4
accent
#47E049
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838424

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

Preview Lab → · Contrast checker → · Palette generator →

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