#838C32#838C32

#838C32 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.4% C 0.114 H 114.6°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#838C32
RGBrgb(131, 140, 50)
HSLhsl(66, 47%, 37%)
HSVhsv(66, 64%, 55%)
CMYKcmyk(6.4%, 0%, 64.3%, 45.1%)
CIE-LABlab(55.90, -15.95, 45.42)
CIE-LCHlch(55.90, 48.14, 109.35°)
OKLaboklab(61.43% -0.0475 0.1035)
OKLCHoklch(61.43% 0.114 114.6)
XYZxyz(19.3143, 23.8121, 6.5957)
Luminance0.2381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838C32 #3B328C
analogous
#8C6832 #838C32 #568C32
triadic
#838C32 #32838C #8C3283
tetradic
#838C32 #328C68 #3B328C #8C3256
square
#838C32 #328C68 #3B328C #8C3256
split-complementary
#838C32 #32568C #68328C
monochromatic
#2F3212 #595F22 #838C32 #ADB942 #C2CB6D

Accessibility & contrast

On white

3.64
#838C32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#838C32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838C32
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838C32#FFFFFF#000000##000000
##838C321.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968527
Deuteranopia (green-blind)
#958738
Tritanopia (blue-blind)
#8B8479
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #838c32;
/* rgb */ color: rgb(131, 140, 50);
/* oklch */ color: oklch(61.4% 0.114 114.6);
Tailwind
colors: {
  custom: {
    50: '#a9ad6e',
    500: '#838c32',
    950: '#000000',
  },
}
SCSS
$custom: #838c32;
$custom-light: #a9ad6e;
$custom-dark: #000000;
JSON
{
  "hex": "#838c32",
  "rgb": {
    "r": 131,
    "g": 140,
    "b": 50
  },
  "hsl": {
    "h": 66,
    "s": 47.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61432,
    "c": 0.11386,
    "h": 114.6
  },
  "luminance": 0.23812
}

Semantic roles & 50–950 ramp

primary
#838C32
secondary
#6F67B3
accent
#51D75E
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #838C32

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

Preview Lab → · Contrast checker → · Palette generator →

#838C32 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva