#838525#838525

#838525 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#838525
RGBrgb(131, 133, 37)
HSLhsl(61, 56%, 33%)
HSVhsv(61, 72%, 52%)
CMYKcmyk(1.5%, 0%, 72.2%, 47.8%)
CIE-LABlab(53.74, -13.05, 48.66)
CIE-LCHlch(53.74, 50.38, 105.02°)
OKLaboklab(59.68% -0.0407 0.1082)
OKLCHoklch(59.68% 0.116 110.6)
XYZxyz(18.0821, 21.7344, 4.9926)
Luminance0.2173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838525 #272585
analogous
#855725 #838525 #538525
triadic
#838525 #258385 #852583
tetradic
#838525 #258557 #272585 #852553
square
#838525 #258557 #272585 #852553
split-complementary
#838525 #255385 #572585
monochromatic
#25250A #545518 #838525 #B2B532 #CDD055

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##838525#FFFFFF#000000##000000
##8385251.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)
#907F15
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#8C7C72
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #838525;
/* rgb */ color: rgb(131, 133, 37);
/* oklch */ color: oklch(59.7% 0.116 110.6);
Tailwind
colors: {
  custom: {
    50: '#aaa866',
    500: '#838525',
    950: '#000000',
  },
}
SCSS
$custom: #838525;
$custom-light: #aaa866;
$custom-dark: #000000;
JSON
{
  "hex": "#838525",
  "rgb": {
    "r": 131,
    "g": 133,
    "b": 37
  },
  "hsl": {
    "h": 61.25,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59676,
    "c": 0.11559,
    "h": 110.6
  },
  "luminance": 0.21734
}

Semantic roles & 50–950 ramp

primary
#838525
secondary
#5452B4
accent
#48E04B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838525

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

Preview Lab → · Contrast checker → · Palette generator →

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