#838245#838245

#838245 is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.3% C 0.083 H 107.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#838245
RGBrgb(131, 130, 69)
HSLhsl(59, 31%, 39%)
HSVhsv(59, 47%, 51%)
CMYKcmyk(0%, 0.8%, 47.3%, 48.6%)
CIE-LABlab(53.19, -8.90, 32.97)
CIE-LCHlch(53.19, 34.15, 105.11°)
OKLaboklab(59.34% -0.0254 0.0788)
OKLCHoklch(59.34% 0.083 107.8)
XYZxyz(18.4173, 21.2207, 8.7549)
Luminance0.2122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838245 #454683
analogous
#836345 #838245 #658345
triadic
#838245 #458382 #824583
tetradic
#838245 #458363 #454683 #834565
square
#838245 #458363 #454683 #834565
split-complementary
#838245 #456583 #634583
monochromatic
#33321B #5B5A30 #838245 #A9A85C #BEBD84

Accessibility & contrast

On white

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

On black

5.24
#838245 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838245
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838245#FFFFFF#000000##000000
##8382451.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7E40
Deuteranopia (green-blind)
#8C8048
Tritanopia (blue-blind)
#8B7B74
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #838245;
/* rgb */ color: rgb(131, 130, 69);
/* oklch */ color: oklch(59.3% 0.083 107.8);
Tailwind
colors: {
  custom: {
    50: '#a8a67a',
    500: '#838245',
    950: '#000000',
  },
}
SCSS
$custom: #838245;
$custom-light: #a8a67a;
$custom-dark: #000000;
JSON
{
  "hex": "#838245",
  "rgb": {
    "r": 131,
    "g": 130,
    "b": 69
  },
  "hsl": {
    "h": 59.032,
    "s": 31,
    "l": 39.216
  },
  "oklch": {
    "l": 0.59337,
    "c": 0.08282,
    "h": 107.8
  },
  "luminance": 0.2122
}

Semantic roles & 50–950 ramp

primary
#838245
secondary
#7A7BAA
accent
#62C761
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#100F09
muted
#7F7F7B

Preview Lab

Preview with #838245

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

Preview Lab → · Contrast checker → · Palette generator →

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