#838249#838249

#838249 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.4% C 0.078 H 107.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#838249
RGBrgb(131, 130, 73)
HSLhsl(59, 28%, 40%)
HSVhsv(59, 44%, 51%)
CMYKcmyk(0%, 0.8%, 44.3%, 48.6%)
CIE-LABlab(53.25, -8.47, 30.90)
CIE-LCHlch(53.25, 32.04, 105.33°)
OKLaboklab(59.4% -0.0237 0.0745)
OKLCHoklch(59.4% 0.078 107.7)
XYZxyz(18.5456, 21.2720, 9.4310)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838249 #494A83
analogous
#836549 #838249 #678349
triadic
#838249 #498382 #824983
tetradic
#838249 #498365 #494A83 #834967
square
#838249 #498365 #494A83 #834967
split-complementary
#838249 #496783 #654983
monochromatic
#34341D #5C5B33 #838249 #A7A662 #BDBC89

Accessibility & contrast

On white

4.00
#838249 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#838249 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838249
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838249#FFFFFF#000000##000000
##8382491.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7E44
Deuteranopia (green-blind)
#8C804C
Tritanopia (blue-blind)
#8A7C74
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #838249;
/* rgb */ color: rgb(131, 130, 73);
/* oklch */ color: oklch(59.4% 0.078 107.7);
Tailwind
colors: {
  custom: {
    50: '#a8a67d',
    500: '#838249',
    950: '#000000',
  },
}
SCSS
$custom: #838249;
$custom-light: #a8a67d;
$custom-dark: #000000;
JSON
{
  "hex": "#838249",
  "rgb": {
    "r": 131,
    "g": 130,
    "b": 73
  },
  "hsl": {
    "h": 58.966,
    "s": 28.431,
    "l": 40
  },
  "oklch": {
    "l": 0.59399,
    "c": 0.07821,
    "h": 107.7
  },
  "luminance": 0.21272
}

Semantic roles & 50–950 ramp

primary
#838249
secondary
#7F7FA9
accent
#65C563
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#100F09
muted
#7F7F7B

Preview Lab

Preview with #838249

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

Preview Lab → · Contrast checker → · Palette generator →

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