#838226#838226

#838226 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.19:1 contrast (WCAG AA passes).

Color values

HEX#838226
RGBrgb(131, 130, 38)
HSLhsl(59, 55%, 33%)
HSVhsv(59, 71%, 51%)
CMYKcmyk(0%, 0.8%, 71%, 48.6%)
CIE-LABlab(52.87, -11.38, 47.41)
CIE-LCHlch(52.87, 48.76, 103.50°)
OKLaboklab(58.98% -0.0359 0.1057)
OKLCHoklch(58.98% 0.112 108.8)
XYZxyz(17.6932, 20.9310, 4.9414)
Luminance0.2093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838226 #262783
analogous
#835326 #838226 #558326
triadic
#838226 #268382 #822683
tetradic
#838226 #268353 #262783 #832655
square
#838226 #268353 #262783 #832655
split-complementary
#838226 #265583 #532683
monochromatic
#24240A #545318 #838226 #B2B134 #CECD56

Accessibility & contrast

On white

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

On black

5.19
#838226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838226
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838226#FFFFFF#000000##000000
##8382261.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #838226;
/* rgb */ color: rgb(131, 130, 38);
/* oklch */ color: oklch(59.0% 0.112 108.8);
Tailwind
colors: {
  custom: {
    50: '#aaa667',
    500: '#838226',
    950: '#000000',
  },
}
SCSS
$custom: #838226;
$custom-light: #aaa667;
$custom-dark: #000000;
JSON
{
  "hex": "#838226",
  "rgb": {
    "r": 131,
    "g": 130,
    "b": 38
  },
  "hsl": {
    "h": 59.355,
    "s": 55.03,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58983,
    "c": 0.11165,
    "h": 108.8
  },
  "luminance": 0.2093
}

Semantic roles & 50–950 ramp

primary
#838226
secondary
#5253B2
accent
#4BDE49
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838226

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

Preview Lab → · Contrast checker → · Palette generator →

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