#838324#838324

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

Color values

HEX#838324
RGBrgb(131, 131, 36)
HSLhsl(60, 57%, 33%)
HSVhsv(60, 73%, 51%)
CMYKcmyk(0%, 0%, 72.5%, 48.6%)
CIE-LABlab(53.15, -12.03, 48.48)
CIE-LCHlch(53.15, 49.95, 103.94°)
OKLaboklab(59.2% -0.038 0.1076)
OKLCHoklch(59.2% 0.114 109.4)
XYZxyz(17.7954, 21.1858, 4.8206)
Luminance0.2119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838324 #242483
analogous
#835324 #838324 #538324
triadic
#838324 #248383 #832483
tetradic
#838324 #248353 #242483 #832453
square
#838324 #248353 #242483 #832453
split-complementary
#838324 #245383 #532483
monochromatic
#23230A #535317 #838324 #B3B331 #CFCF52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##838324#FFFFFF#000000##000000
##8383241.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)
#8E7D14
Deuteranopia (green-blind)
#8F802B
Tritanopia (blue-blind)
#8D7A70
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #838324;
/* rgb */ color: rgb(131, 131, 36);
/* oklch */ color: oklch(59.2% 0.114 109.4);
Tailwind
colors: {
  custom: {
    50: '#aaa666',
    500: '#838324',
    950: '#000000',
  },
}
SCSS
$custom: #838324;
$custom-light: #aaa666;
$custom-dark: #000000;
JSON
{
  "hex": "#838324",
  "rgb": {
    "r": 131,
    "g": 131,
    "b": 36
  },
  "hsl": {
    "h": 60,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59201,
    "c": 0.1141,
    "h": 109.4
  },
  "luminance": 0.21185
}

Semantic roles & 50–950 ramp

primary
#838324
secondary
#4F4FB3
accent
#48E048
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838324

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

Preview Lab → · Contrast checker → · Palette generator →

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