#838720#838720

#838720 is a mid, vivid yellow. Relative luminance 0.223; OKLCH L 60.1% C 0.121 H 111.8°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#838720
RGBrgb(131, 135, 32)
HSLhsl(62, 62%, 33%)
HSVhsv(62, 76%, 53%)
CMYKcmyk(3%, 0%, 76.3%, 47.1%)
CIE-LABlab(54.30, -14.37, 51.05)
CIE-LCHlch(54.30, 53.04, 105.73°)
OKLaboklab(60.11% -0.0449 0.1123)
OKLCHoklch(60.11% 0.121 111.8)
XYZxyz(18.2854, 22.2580, 4.6992)
Luminance0.2226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838720 #242087
analogous
#875720 #838720 #4F8720
triadic
#838720 #208387 #872083
tetradic
#838720 #208757 #242087 #87204F
square
#838720 #208757 #242087 #87204F
split-complementary
#838720 #204F87 #572087
monochromatic
#232409 #535614 #838720 #B3B82C #CFD54D

Accessibility & contrast

On white

3.85
#838720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#838720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838720
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838720#FFFFFF#000000##000000
##8387201.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928109
Deuteranopia (green-blind)
#928329
Tritanopia (blue-blind)
#8C7E73
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #838720;
/* rgb */ color: rgb(131, 135, 32);
/* oklch */ color: oklch(60.1% 0.121 111.8);
Tailwind
colors: {
  custom: {
    50: '#aaa964',
    500: '#838720',
    950: '#000000',
  },
}
SCSS
$custom: #838720;
$custom-light: #aaa964;
$custom-dark: #000000;
JSON
{
  "hex": "#838720",
  "rgb": {
    "r": 131,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 62.33,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.6011,
    "c": 0.12093,
    "h": 111.8
  },
  "luminance": 0.22258
}

Semantic roles & 50–950 ramp

primary
#838720
secondary
#4F4BB8
accent
#43E549
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #838720

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

Preview Lab → · Contrast checker → · Palette generator →

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