#838422#838422

#838422 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.4% C 0.116 H 110.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#838422
RGBrgb(131, 132, 34)
HSLhsl(61, 59%, 33%)
HSVhsv(61, 74%, 52%)
CMYKcmyk(0.8%, 0%, 74.2%, 48.2%)
CIE-LABlab(53.43, -12.67, 49.51)
CIE-LCHlch(53.43, 51.10, 104.36°)
OKLaboklab(59.42% -0.04 0.1094)
OKLCHoklch(59.42% 0.116 110.1)
XYZxyz(17.9007, 21.4438, 4.7092)
Luminance0.2144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838422 #232284
analogous
#845422 #838422 #528422
triadic
#838422 #228384 #842283
tetradic
#838422 #228454 #232284 #842252
square
#838422 #228454 #232284 #842252
split-complementary
#838422 #225284 #542284
monochromatic
#222309 #535315 #838422 #B3B52F #D0D24F

Accessibility & contrast

On white

3.97
#838422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#838422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838422
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838422#FFFFFF#000000##000000
##8384221.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0F
Deuteranopia (green-blind)
#90812A
Tritanopia (blue-blind)
#8D7B71
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #838422;
/* rgb */ color: rgb(131, 132, 34);
/* oklch */ color: oklch(59.4% 0.116 110.1);
Tailwind
colors: {
  custom: {
    50: '#aaa765',
    500: '#838422',
    950: '#000000',
  },
}
SCSS
$custom: #838422;
$custom-light: #aaa765;
$custom-dark: #000000;
JSON
{
  "hex": "#838422",
  "rgb": {
    "r": 131,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 60.612,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5942,
    "c": 0.11647,
    "h": 110.1
  },
  "luminance": 0.21443
}

Semantic roles & 50–950 ramp

primary
#838422
secondary
#4E4DB5
accent
#46E247
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838422

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

Preview Lab → · Contrast checker → · Palette generator →

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