#838837#838837

#838837 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.5% C 0.105 H 112.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#838837
RGBrgb(131, 136, 55)
HSLhsl(64, 42%, 37%)
HSVhsv(64, 60%, 53%)
CMYKcmyk(3.7%, 0%, 59.6%, 46.7%)
CIE-LABlab(54.77, -13.45, 41.89)
CIE-LCHlch(54.77, 43.99, 107.80°)
OKLaboklab(60.55% -0.0398 0.0967)
OKLCHoklch(60.55% 0.105 112.4)
XYZxyz(18.8543, 22.7098, 7.0039)
Luminance0.2271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838837 #3C3788
analogous
#886537 #838837 #5A8837
triadic
#838837 #378388 #883783
tetradic
#838837 #378865 #3C3788 #88375A
square
#838837 #378865 #3C3788 #88375A
split-complementary
#838837 #375A88 #653788
monochromatic
#2F3114 #595C25 #838837 #ADB449 #C1C673

Accessibility & contrast

On white

3.79
#838837 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#838837 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838837
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838837#FFFFFF#000000##000000
##8388371.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92822E
Deuteranopia (green-blind)
#92843C
Tritanopia (blue-blind)
#8B8077
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #838837;
/* rgb */ color: rgb(131, 136, 55);
/* oklch */ color: oklch(60.5% 0.105 112.4);
Tailwind
colors: {
  custom: {
    50: '#a9aa71',
    500: '#838837',
    950: '#000000',
  },
}
SCSS
$custom: #838837;
$custom-light: #a9aa71;
$custom-dark: #000000;
JSON
{
  "hex": "#838837",
  "rgb": {
    "r": 131,
    "g": 136,
    "b": 55
  },
  "hsl": {
    "h": 63.704,
    "s": 42.408,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60545,
    "c": 0.1046,
    "h": 112.4
  },
  "luminance": 0.22709
}

Semantic roles & 50–950 ramp

primary
#838837
secondary
#706CAF
accent
#56D25D
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#101008
muted
#7F7F7B

Preview Lab

Preview with #838837

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

Preview Lab → · Contrast checker → · Palette generator →

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