#838524#838524

#838524 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.7% C 0.116 H 110.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#838524
RGBrgb(131, 133, 36)
HSLhsl(61, 57%, 33%)
HSVhsv(61, 73%, 52%)
CMYKcmyk(1.5%, 0%, 72.9%, 47.8%)
CIE-LABlab(53.74, -13.11, 49.04)
CIE-LCHlch(53.74, 50.77, 104.96°)
OKLaboklab(59.67% -0.041 0.1088)
OKLCHoklch(59.67% 0.116 110.6)
XYZxyz(18.0666, 21.7282, 4.9110)
Luminance0.2173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838524 #262485
analogous
#855624 #838524 #528524
triadic
#838524 #248385 #852483
tetradic
#838524 #248556 #262485 #852452
square
#838524 #248556 #262485 #852452
split-complementary
#838524 #245285 #562485
monochromatic
#24250A #545517 #838524 #B2B531 #CED053

Accessibility & contrast

On white

3.93
#838524 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#838524 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838524
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838524#FFFFFF#000000##000000
##8385241.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F13
Deuteranopia (green-blind)
#91822B
Tritanopia (blue-blind)
#8C7C72
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #838524;
/* rgb */ color: rgb(131, 133, 36);
/* oklch */ color: oklch(59.7% 0.116 110.6);
Tailwind
colors: {
  custom: {
    50: '#aaa866',
    500: '#838524',
    950: '#000000',
  },
}
SCSS
$custom: #838524;
$custom-light: #aaa866;
$custom-dark: #000000;
JSON
{
  "hex": "#838524",
  "rgb": {
    "r": 131,
    "g": 133,
    "b": 36
  },
  "hsl": {
    "h": 61.237,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59668,
    "c": 0.11626,
    "h": 110.6
  },
  "luminance": 0.21728
}

Semantic roles & 50–950 ramp

primary
#838524
secondary
#5250B4
accent
#47E14A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838524

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

Preview Lab → · Contrast checker → · Palette generator →

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