#838C20#838C20

#838C20 is a mid, vivid yellow. Relative luminance 0.237; OKLCH L 61.3% C 0.126 H 114.4°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#838C20
RGBrgb(131, 140, 32)
HSLhsl(65, 63%, 34%)
HSVhsv(65, 77%, 55%)
CMYKcmyk(6.4%, 0%, 77.1%, 45.1%)
CIE-LABlab(55.77, -17.01, 52.43)
CIE-LCHlch(55.77, 55.12, 107.98°)
OKLaboklab(61.29% -0.0522 0.1152)
OKLCHoklch(61.29% 0.126 114.4)
XYZxyz(18.9994, 23.6861, 4.9372)
Luminance0.2369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838C20 #29208C
analogous
#8C5F20 #838C20 #4D8C20
triadic
#838C20 #20838C #8C2083
tetradic
#838C20 #208C5F #29208C #8C204D
square
#838C20 #208C5F #29208C #8C204D
split-complementary
#838C20 #204D8C #5F208C
monochromatic
#262809 #545A15 #838C20 #B2BE2B #CCD750

Accessibility & contrast

On white

3.66
#838C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#838C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838C20
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838C20#FFFFFF#000000##000000
##838C201.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978506
Deuteranopia (green-blind)
#968729
Tritanopia (blue-blind)
#8C8378
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #838c20;
/* rgb */ color: rgb(131, 140, 32);
/* oklch */ color: oklch(61.3% 0.126 114.4);
Tailwind
colors: {
  custom: {
    50: '#aaad65',
    500: '#838c20',
    950: '#000000',
  },
}
SCSS
$custom: #838c20;
$custom-light: #aaad65;
$custom-dark: #000000;
JSON
{
  "hex": "#838c20",
  "rgb": {
    "r": 131,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 65,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.6129,
    "c": 0.12648,
    "h": 114.4
  },
  "luminance": 0.23686
}

Semantic roles & 50–950 ramp

primary
#838C20
secondary
#574EBA
accent
#42E650
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #838C20

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

Preview Lab → · Contrast checker → · Palette generator →

#838C20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva