#838529#838529

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

Color values

HEX#838529
RGBrgb(131, 133, 41)
HSLhsl(61, 53%, 34%)
HSVhsv(61, 69%, 52%)
CMYKcmyk(1.5%, 0%, 69.2%, 47.8%)
CIE-LABlab(53.77, -12.82, 47.08)
CIE-LCHlch(53.77, 48.80, 105.24°)
OKLaboklab(59.71% -0.0397 0.1056)
OKLCHoklch(59.71% 0.113 110.6)
XYZxyz(18.1484, 21.7609, 5.3417)
Luminance0.2176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838529 #2B2985
analogous
#855929 #838529 #558529
triadic
#838529 #298385 #852983
tetradic
#838529 #298559 #2B2985 #852955
square
#838529 #298559 #2B2985 #852955
split-complementary
#838529 #295585 #592985
monochromatic
#27270C #55561B #838529 #B1B437 #CACD5C

Accessibility & contrast

On white

3.92
#838529 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##838529#FFFFFF#000000##000000
##8385291.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F1B
Deuteranopia (green-blind)
#90822F
Tritanopia (blue-blind)
#8C7D73
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #838529;
/* rgb */ color: rgb(131, 133, 41);
/* oklch */ color: oklch(59.7% 0.113 110.6);
Tailwind
colors: {
  custom: {
    50: '#aaa869',
    500: '#838529',
    950: '#000000',
  },
}
SCSS
$custom: #838529;
$custom-light: #aaa869;
$custom-dark: #000000;
JSON
{
  "hex": "#838529",
  "rgb": {
    "r": 131,
    "g": 133,
    "b": 41
  },
  "hsl": {
    "h": 61.304,
    "s": 52.874,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59707,
    "c": 0.11276,
    "h": 110.6
  },
  "luminance": 0.2176
}

Semantic roles & 50–950 ramp

primary
#838529
secondary
#5A58B2
accent
#4CDC4F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838529

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

Preview Lab → · Contrast checker → · Palette generator →

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