#838E29#838E29

#838E29 is a mid, vivid yellow. Relative luminance 0.243; OKLCH L 61.8% C 0.123 H 115.5°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#838E29
RGBrgb(131, 142, 41)
HSLhsl(67, 55%, 36%)
HSVhsv(67, 71%, 56%)
CMYKcmyk(7.7%, 0%, 71.1%, 44.3%)
CIE-LABlab(56.42, -17.59, 49.74)
CIE-LCHlch(56.42, 52.75, 109.47°)
OKLaboklab(61.83% -0.053 0.1112)
OKLCHoklch(61.83% 0.123 115.5)
XYZxyz(19.4338, 24.3317, 5.7701)
Luminance0.2433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838E29 #34298E
analogous
#8E6629 #838E29 #508E29
triadic
#838E29 #29838E #8E2983
tetradic
#838E29 #298E66 #34298E #8E2950
square
#838E29 #298E66 #34298E #8E2950
split-complementary
#838E29 #29508E #66298E
monochromatic
#2B2F0E #575F1B #838E29 #AFBD37 #C5D160

Accessibility & contrast

On white

3.58
#838E29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#838E29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838E29
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838E29#FFFFFF#000000##000000
##838E291.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988719
Deuteranopia (green-blind)
#978831
Tritanopia (blue-blind)
#8C867A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #838e29;
/* rgb */ color: rgb(131, 142, 41);
/* oklch */ color: oklch(61.8% 0.123 115.5);
Tailwind
colors: {
  custom: {
    50: '#aaaf6a',
    500: '#838e29',
    950: '#000000',
  },
}
SCSS
$custom: #838e29;
$custom-light: #aaaf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#838e29",
  "rgb": {
    "r": 131,
    "g": 142,
    "b": 41
  },
  "hsl": {
    "h": 66.535,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61826,
    "c": 0.12312,
    "h": 115.5
  },
  "luminance": 0.24331
}

Semantic roles & 50–950 ramp

primary
#838E29
secondary
#665CB7
accent
#49DF5A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #838E29

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

Preview Lab → · Contrast checker → · Palette generator →

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