#838149#838149

#838149 is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.2% C 0.077 H 106.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#838149
RGBrgb(131, 129, 73)
HSLhsl(58, 28%, 40%)
HSVhsv(58, 44%, 51%)
CMYKcmyk(0%, 1.5%, 44.3%, 48.6%)
CIE-LABlab(52.96, -7.92, 30.54)
CIE-LCHlch(52.96, 31.55, 104.53°)
OKLaboklab(59.17% -0.0222 0.0737)
OKLCHoklch(59.17% 0.077 106.7)
XYZxyz(18.4133, 21.0073, 9.3869)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838149 #494B83
analogous
#836449 #838149 #688349
triadic
#838149 #498381 #814983
tetradic
#838149 #498364 #494B83 #834968
square
#838149 #498364 #494B83 #834968
split-complementary
#838149 #496883 #644983
monochromatic
#34341D #5C5A33 #838149 #A7A562 #BDBB89

Accessibility & contrast

On white

4.04
#838149 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#838149 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838149
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838149#FFFFFF#000000##000000
##8381491.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897D44
Deuteranopia (green-blind)
#8B804B
Tritanopia (blue-blind)
#8B7B74
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #838149;
/* rgb */ color: rgb(131, 129, 73);
/* oklch */ color: oklch(59.2% 0.077 106.7);
Tailwind
colors: {
  custom: {
    50: '#a8a57d',
    500: '#838149',
    950: '#000000',
  },
}
SCSS
$custom: #838149;
$custom-light: #a8a57d;
$custom-dark: #000000;
JSON
{
  "hex": "#838149",
  "rgb": {
    "r": 131,
    "g": 129,
    "b": 73
  },
  "hsl": {
    "h": 57.931,
    "s": 28.431,
    "l": 40
  },
  "oklch": {
    "l": 0.5917,
    "c": 0.07698,
    "h": 106.7
  },
  "luminance": 0.21007
}

Semantic roles & 50–950 ramp

primary
#838149
secondary
#7F80A9
accent
#66C563
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#100F09
muted
#7F7F7B

Preview Lab

Preview with #838149

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

Preview Lab → · Contrast checker → · Palette generator →

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