#838225#838225

#838225 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.0% C 0.112 H 108.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#838225
RGBrgb(131, 130, 37)
HSLhsl(59, 56%, 33%)
HSVhsv(59, 72%, 51%)
CMYKcmyk(0%, 0.8%, 71.8%, 48.6%)
CIE-LABlab(52.87, -11.43, 47.80)
CIE-LCHlch(52.87, 49.15, 103.45°)
OKLaboklab(58.98% -0.0362 0.1064)
OKLCHoklch(58.98% 0.112 108.8)
XYZxyz(17.6773, 20.9247, 4.8576)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838225 #252683
analogous
#835325 #838225 #558325
triadic
#838225 #258382 #822583
tetradic
#838225 #258353 #252683 #832555
square
#838225 #258353 #252683 #832555
split-complementary
#838225 #255583 #532583
monochromatic
#24230A #535318 #838225 #B3B132 #CFCD54

Accessibility & contrast

On white

4.05
#838225 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#838225 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838225
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838225#FFFFFF#000000##000000
##8382251.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D16
Deuteranopia (green-blind)
#8E802C
Tritanopia (blue-blind)
#8D7970
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #838225;
/* rgb */ color: rgb(131, 130, 37);
/* oklch */ color: oklch(59.0% 0.112 108.8);
Tailwind
colors: {
  custom: {
    50: '#aaa666',
    500: '#838225',
    950: '#000000',
  },
}
SCSS
$custom: #838225;
$custom-light: #aaa666;
$custom-dark: #000000;
JSON
{
  "hex": "#838225",
  "rgb": {
    "r": 131,
    "g": 130,
    "b": 37
  },
  "hsl": {
    "h": 59.362,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58975,
    "c": 0.11235,
    "h": 108.8
  },
  "luminance": 0.20924
}

Semantic roles & 50–950 ramp

primary
#838225
secondary
#5152B3
accent
#4ADF49
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838225

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

Preview Lab → · Contrast checker → · Palette generator →

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