#838D29#838D29

#838D29 is a mid, vivid yellow. Relative luminance 0.240; OKLCH L 61.6% C 0.122 H 115.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#838D29
RGBrgb(131, 141, 41)
HSLhsl(66, 55%, 36%)
HSVhsv(66, 71%, 55%)
CMYKcmyk(7.1%, 0%, 70.9%, 44.7%)
CIE-LABlab(56.12, -17.06, 49.44)
CIE-LCHlch(56.12, 52.30, 109.04°)
OKLaboklab(61.59% -0.0515 0.1105)
OKLCHoklch(61.59% 0.122 115)
XYZxyz(19.2857, 24.0355, 5.7208)
Luminance0.2404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838D29 #33298D
analogous
#8D6529 #838D29 #518D29
triadic
#838D29 #29838D #8D2983
tetradic
#838D29 #298D65 #33298D #8D2951
square
#838D29 #298D65 #33298D #8D2951
split-complementary
#838D29 #29518D #65298D
monochromatic
#2B2E0D #575E1B #838D29 #AFBC37 #C5D160

Accessibility & contrast

On white

3.62
#838D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#838D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838D29
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838D29#FFFFFF#000000##000000
##838D291.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978619
Deuteranopia (green-blind)
#978731
Tritanopia (blue-blind)
#8C8579
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #838d29;
/* rgb */ color: rgb(131, 141, 41);
/* oklch */ color: oklch(61.6% 0.122 115.0);
Tailwind
colors: {
  custom: {
    50: '#aaae69',
    500: '#838d29',
    950: '#000000',
  },
}
SCSS
$custom: #838d29;
$custom-light: #aaae69;
$custom-dark: #000000;
JSON
{
  "hex": "#838d29",
  "rgb": {
    "r": 131,
    "g": 141,
    "b": 41
  },
  "hsl": {
    "h": 66,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61589,
    "c": 0.12194,
    "h": 115
  },
  "luminance": 0.24035
}

Semantic roles & 50–950 ramp

primary
#838D29
secondary
#655BB6
accent
#4ADE58
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #838D29

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

Preview Lab → · Contrast checker → · Palette generator →

#838D29 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva