#838331#838331

#838331 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.3% C 0.104 H 109.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#838331
RGBrgb(131, 131, 49)
HSLhsl(60, 46%, 35%)
HSVhsv(60, 63%, 51%)
CMYKcmyk(0%, 0%, 62.6%, 48.6%)
CIE-LABlab(53.25, -11.21, 43.03)
CIE-LCHlch(53.25, 44.47, 104.61°)
OKLaboklab(59.32% -0.0342 0.0983)
OKLCHoklch(59.32% 0.104 109.2)
XYZxyz(18.0313, 21.2801, 6.0628)
Luminance0.2128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838331 #313183
analogous
#835A31 #838331 #5A8331
triadic
#838331 #318383 #833183
tetradic
#838331 #31835A #313183 #83315A
square
#838331 #31835A #313183 #83315A
split-complementary
#838331 #315A83 #5A3183
monochromatic
#2A2A10 #565620 #838331 #B0B042 #C6C668

Accessibility & contrast

On white

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

On black

5.26
#838331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838331
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838331#FFFFFF#000000##000000
##8383311.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E27
Deuteranopia (green-blind)
#8E8036
Tritanopia (blue-blind)
#8C7B72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #838331;
/* rgb */ color: rgb(131, 131, 49);
/* oklch */ color: oklch(59.3% 0.104 109.2);
Tailwind
colors: {
  custom: {
    50: '#a9a66d',
    500: '#838331',
    950: '#000000',
  },
}
SCSS
$custom: #838331;
$custom-light: #a9a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#838331",
  "rgb": {
    "r": 131,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 60,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59315,
    "c": 0.10409,
    "h": 109.2
  },
  "luminance": 0.2128
}

Semantic roles & 50–950 ramp

primary
#838331
secondary
#6262AE
accent
#53D553
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #838331

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

Preview Lab → · Contrast checker → · Palette generator →

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