#838328#838328

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

Color values

HEX#838328
RGBrgb(131, 131, 40)
HSLhsl(60, 53%, 34%)
HSVhsv(60, 69%, 51%)
CMYKcmyk(0%, 0%, 69.5%, 48.6%)
CIE-LABlab(53.18, -11.81, 46.90)
CIE-LCHlch(53.18, 48.36, 104.13°)
OKLaboklab(59.23% -0.0369 0.105)
OKLCHoklch(59.23% 0.111 109.4)
XYZxyz(17.8600, 21.2116, 5.1605)
Luminance0.2121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838328 #282883
analogous
#835528 #838328 #558328
triadic
#838328 #288383 #832883
tetradic
#838328 #288355 #282883 #832855
square
#838328 #288355 #282883 #832855
split-complementary
#838328 #285583 #552883
monochromatic
#25250B #54541A #838328 #B2B236 #CCCC59

Accessibility & contrast

On white

4.01
#838328 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##838328#FFFFFF#000000##000000
##8383281.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D1A
Deuteranopia (green-blind)
#8F802E
Tritanopia (blue-blind)
#8C7B71
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #838328;
/* rgb */ color: rgb(131, 131, 40);
/* oklch */ color: oklch(59.2% 0.111 109.4);
Tailwind
colors: {
  custom: {
    50: '#aaa668',
    500: '#838328',
    950: '#000000',
  },
}
SCSS
$custom: #838328;
$custom-light: #aaa668;
$custom-dark: #000000;
JSON
{
  "hex": "#838328",
  "rgb": {
    "r": 131,
    "g": 131,
    "b": 40
  },
  "hsl": {
    "h": 60,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59232,
    "c": 0.1113,
    "h": 109.4
  },
  "luminance": 0.21211
}

Semantic roles & 50–950 ramp

primary
#838328
secondary
#5555B1
accent
#4BDD4B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838328

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

Preview Lab → · Contrast checker → · Palette generator →

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