#838223#838223

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

Color values

HEX#838223
RGBrgb(131, 130, 35)
HSLhsl(59, 58%, 33%)
HSVhsv(59, 73%, 51%)
CMYKcmyk(0%, 0.8%, 73.3%, 48.6%)
CIE-LABlab(52.85, -11.54, 48.57)
CIE-LCHlch(52.85, 49.92, 103.37°)
OKLaboklab(58.96% -0.0367 0.1076)
OKLCHoklch(58.96% 0.114 108.8)
XYZxyz(17.6467, 20.9125, 4.6967)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838223 #232483
analogous
#835223 #838223 #548323
triadic
#838223 #238382 #822383
tetradic
#838223 #238352 #232483 #832354
square
#838223 #238352 #232483 #832354
split-complementary
#838223 #235483 #522383
monochromatic
#222209 #535216 #838223 #B3B230 #D0CF50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##838223#FFFFFF#000000##000000
##8382231.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)
#8D7C12
Deuteranopia (green-blind)
#8E802A
Tritanopia (blue-blind)
#8D7970
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #838223;
/* rgb */ color: rgb(131, 130, 35);
/* oklch */ color: oklch(59.0% 0.114 108.8);
Tailwind
colors: {
  custom: {
    50: '#aaa665',
    500: '#838223',
    950: '#000000',
  },
}
SCSS
$custom: #838223;
$custom-light: #aaa665;
$custom-dark: #000000;
JSON
{
  "hex": "#838223",
  "rgb": {
    "r": 131,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 59.375,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5896,
    "c": 0.11369,
    "h": 108.8
  },
  "luminance": 0.20912
}

Semantic roles & 50–950 ramp

primary
#838223
secondary
#4E4FB4
accent
#48E147
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838223

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

Preview Lab → · Contrast checker → · Palette generator →

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