#838326#838326

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

Color values

HEX#838326
RGBrgb(131, 131, 38)
HSLhsl(60, 55%, 33%)
HSVhsv(60, 71%, 51%)
CMYKcmyk(0%, 0%, 71%, 48.6%)
CIE-LABlab(53.17, -11.92, 47.70)
CIE-LCHlch(53.17, 49.17, 104.03°)
OKLaboklab(59.22% -0.0374 0.1063)
OKLCHoklch(59.22% 0.113 109.4)
XYZxyz(17.8268, 21.1984, 4.9860)
Luminance0.2120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838326 #262683
analogous
#835426 #838326 #548326
triadic
#838326 #268383 #832683
tetradic
#838326 #268354 #262683 #832654
square
#838326 #268354 #262683 #832654
split-complementary
#838326 #265483 #542683
monochromatic
#24240A #545418 #838326 #B2B234 #CECE56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##838326#FFFFFF#000000##000000
##8383261.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)
#8E7D17
Deuteranopia (green-blind)
#8F802D
Tritanopia (blue-blind)
#8C7A71
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #838326;
/* rgb */ color: rgb(131, 131, 38);
/* oklch */ color: oklch(59.2% 0.113 109.4);
Tailwind
colors: {
  custom: {
    50: '#aaa667',
    500: '#838326',
    950: '#000000',
  },
}
SCSS
$custom: #838326;
$custom-light: #aaa667;
$custom-dark: #000000;
JSON
{
  "hex": "#838326",
  "rgb": {
    "r": 131,
    "g": 131,
    "b": 38
  },
  "hsl": {
    "h": 60,
    "s": 55.03,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59216,
    "c": 0.11273,
    "h": 109.4
  },
  "luminance": 0.21198
}

Semantic roles & 50–950 ramp

primary
#838326
secondary
#5252B2
accent
#49DE49
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838326

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

Preview Lab → · Contrast checker → · Palette generator →

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