#838B29#838B29

#838B29 is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.1% C 0.120 H 114.0°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#838B29
RGBrgb(131, 139, 41)
HSLhsl(65, 54%, 35%)
HSVhsv(65, 71%, 55%)
CMYKcmyk(5.8%, 0%, 70.5%, 45.5%)
CIE-LABlab(55.53, -16.02, 48.85)
CIE-LCHlch(55.53, 51.41, 108.15°)
OKLaboklab(61.12% -0.0486 0.1093)
OKLCHoklch(61.12% 0.12 114)
XYZxyz(18.9935, 23.4510, 5.6233)
Luminance0.2345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838B29 #31298B
analogous
#8B6229 #838B29 #528B29
triadic
#838B29 #29838B #8B2983
tetradic
#838B29 #298B62 #31298B #8B2952
square
#838B29 #298B62 #31298B #8B2952
split-complementary
#838B29 #29528B #62298B
monochromatic
#2A2C0D #565C1B #838B29 #B0BA37 #C6D05F

Accessibility & contrast

On white

3.69
#838B29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#838B29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838B29
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838B29#FFFFFF#000000##000000
##838B291.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841A
Deuteranopia (green-blind)
#958630
Tritanopia (blue-blind)
#8C8378
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #838b29;
/* rgb */ color: rgb(131, 139, 41);
/* oklch */ color: oklch(61.1% 0.120 114.0);
Tailwind
colors: {
  custom: {
    50: '#aaac69',
    500: '#838b29',
    950: '#000000',
  },
}
SCSS
$custom: #838b29;
$custom-light: #aaac69;
$custom-dark: #000000;
JSON
{
  "hex": "#838b29",
  "rgb": {
    "r": 131,
    "g": 139,
    "b": 41
  },
  "hsl": {
    "h": 64.898,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61117,
    "c": 0.1196,
    "h": 114
  },
  "luminance": 0.23451
}

Semantic roles & 50–950 ramp

primary
#838B29
secondary
#625BB5
accent
#4ADE56
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #838B29

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

Preview Lab → · Contrast checker → · Palette generator →

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