#838035#838035

#838035 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.7% C 0.097 H 106.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#838035
RGBrgb(131, 128, 53)
HSLhsl(58, 42%, 36%)
HSVhsv(58, 60%, 51%)
CMYKcmyk(0%, 2.3%, 59.5%, 48.6%)
CIE-LABlab(52.42, -9.27, 40.23)
CIE-LCHlch(52.42, 41.28, 102.98°)
OKLaboklab(58.66% -0.0282 0.0929)
OKLCHoklch(58.66% 0.097 106.9)
XYZxyz(17.7224, 20.5212, 6.3949)
Luminance0.2052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838035 #353883
analogous
#835935 #838035 #5F8335
triadic
#838035 #358380 #803583
tetradic
#838035 #358359 #353883 #83355F
square
#838035 #358359 #353883 #83355F
split-complementary
#838035 #355F83 #593583
monochromatic
#2C2B12 #575523 #838035 #AFAB47 #C4C16E

Accessibility & contrast

On white

4.11
#838035 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#838035 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838035
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838035#FFFFFF#000000##000000
##8380351.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B2D
Deuteranopia (green-blind)
#8C7E39
Tritanopia (blue-blind)
#8C7870
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #838035;
/* rgb */ color: rgb(131, 128, 53);
/* oklch */ color: oklch(58.7% 0.097 106.9);
Tailwind
colors: {
  custom: {
    50: '#a9a46f',
    500: '#838035',
    950: '#000000',
  },
}
SCSS
$custom: #838035;
$custom-light: #a9a46f;
$custom-dark: #000000;
JSON
{
  "hex": "#838035",
  "rgb": {
    "r": 131,
    "g": 128,
    "b": 53
  },
  "hsl": {
    "h": 57.692,
    "s": 42.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58664,
    "c": 0.0971,
    "h": 106.9
  },
  "luminance": 0.20521
}

Semantic roles & 50–950 ramp

primary
#838035
secondary
#676AAD
accent
#5AD256
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #838035

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

Preview Lab → · Contrast checker → · Palette generator →

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