#838527#838527

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

Color values

HEX#838527
RGBrgb(131, 133, 39)
HSLhsl(61, 55%, 34%)
HSVhsv(61, 71%, 52%)
CMYKcmyk(1.5%, 0%, 70.7%, 47.8%)
CIE-LABlab(53.76, -12.94, 47.88)
CIE-LCHlch(53.76, 49.60, 105.12°)
OKLaboklab(59.69% -0.0402 0.1069)
OKLCHoklch(59.69% 0.114 110.6)
XYZxyz(18.1144, 21.7473, 5.1625)
Luminance0.2175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838527 #292785
analogous
#855827 #838527 #548527
triadic
#838527 #278385 #852783
tetradic
#838527 #278558 #292785 #852754
square
#838527 #278558 #292785 #852754
split-complementary
#838527 #275485 #582785
monochromatic
#26260B #545619 #838527 #B2B435 #CCCE58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##838527#FFFFFF#000000##000000
##8385271.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)
#907F18
Deuteranopia (green-blind)
#90822E
Tritanopia (blue-blind)
#8C7D72
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #838527;
/* rgb */ color: rgb(131, 133, 39);
/* oklch */ color: oklch(59.7% 0.114 110.6);
Tailwind
colors: {
  custom: {
    50: '#aaa867',
    500: '#838527',
    950: '#000000',
  },
}
SCSS
$custom: #838527;
$custom-light: #aaa867;
$custom-dark: #000000;
JSON
{
  "hex": "#838527",
  "rgb": {
    "r": 131,
    "g": 133,
    "b": 39
  },
  "hsl": {
    "h": 61.277,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59691,
    "c": 0.11421,
    "h": 110.6
  },
  "luminance": 0.21747
}

Semantic roles & 50–950 ramp

primary
#838527
secondary
#5755B3
accent
#4ADE4D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838527

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

Preview Lab → · Contrast checker → · Palette generator →

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