#838420#838420

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

Color values

HEX#838420
RGBrgb(131, 132, 32)
HSLhsl(61, 61%, 32%)
HSVhsv(61, 76%, 52%)
CMYKcmyk(0.8%, 0%, 75.8%, 48.2%)
CIE-LABlab(53.42, -12.77, 50.23)
CIE-LCHlch(53.42, 51.82, 104.26°)
OKLaboklab(59.41% -0.0404 0.1105)
OKLCHoklch(59.41% 0.118 110.1)
XYZxyz(17.8727, 21.4326, 4.5617)
Luminance0.2143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838420 #212084
analogous
#845320 #838420 #518420
triadic
#838420 #208384 #842083
tetradic
#838420 #208453 #212084 #842051
square
#838420 #208453 #212084 #842051
split-complementary
#838420 #205184 #532084
monochromatic
#212108 #525314 #838420 #B4B52C #D2D34B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##838420#FFFFFF#000000##000000
##8384201.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)
#8F7E0B
Deuteranopia (green-blind)
#908128
Tritanopia (blue-blind)
#8D7B71
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #838420;
/* rgb */ color: rgb(131, 132, 32);
/* oklch */ color: oklch(59.4% 0.118 110.1);
Tailwind
colors: {
  custom: {
    50: '#aaa764',
    500: '#838420',
    950: '#000000',
  },
}
SCSS
$custom: #838420;
$custom-light: #aaa764;
$custom-dark: #000000;
JSON
{
  "hex": "#838420",
  "rgb": {
    "r": 131,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 60.6,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.59406,
    "c": 0.1177,
    "h": 110.1
  },
  "luminance": 0.21432
}

Semantic roles & 50–950 ramp

primary
#838420
secondary
#4B4AB6
accent
#44E445
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838420

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

Preview Lab → · Contrast checker → · Palette generator →

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