#838947#838947

#838947 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.0% C 0.090 H 113.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#838947
RGBrgb(131, 137, 71)
HSLhsl(65, 32%, 41%)
HSVhsv(65, 48%, 54%)
CMYKcmyk(4.4%, 0%, 48.2%, 46.3%)
CIE-LABlab(55.25, -12.50, 34.42)
CIE-LCHlch(55.25, 36.62, 109.95°)
OKLaboklab(60.99% -0.0354 0.0822)
OKLCHoklch(60.99% 0.09 113.3)
XYZxyz(19.4434, 23.1718, 9.4084)
Luminance0.2317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838947 #4D4789
analogous
#896E47 #838947 #628947
triadic
#838947 #478389 #894783
tetradic
#838947 #47896E #4D4789 #894762
square
#838947 #47896E #4D4789 #894762
split-complementary
#838947 #476289 #6E4789
monochromatic
#36381D #5C6132 #838947 #A6AD60 #BDC289

Accessibility & contrast

On white

3.73
#838947 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#838947 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838947
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838947#FFFFFF#000000##000000
##8389471.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918441
Deuteranopia (green-blind)
#91854A
Tritanopia (blue-blind)
#8A827A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #838947;
/* rgb */ color: rgb(131, 137, 71);
/* oklch */ color: oklch(61.0% 0.090 113.3);
Tailwind
colors: {
  custom: {
    50: '#a8ab7c',
    500: '#838947',
    950: '#000000',
  },
}
SCSS
$custom: #838947;
$custom-light: #a8ab7c;
$custom-dark: #000000;
JSON
{
  "hex": "#838947",
  "rgb": {
    "r": 131,
    "g": 137,
    "b": 71
  },
  "hsl": {
    "h": 65.455,
    "s": 31.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.60986,
    "c": 0.08952,
    "h": 113.3
  },
  "luminance": 0.23172
}

Semantic roles & 50–950 ramp

primary
#838947
secondary
#837FAD
accent
#60C869
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#101009
muted
#7F7F7B

Preview Lab

Preview with #838947

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

Preview Lab → · Contrast checker → · Palette generator →

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