#839216#839216

#839216 is a light, vivid yellow. Relative luminance 0.254; OKLCH L 62.7% C 0.138 H 117.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#839216
RGBrgb(131, 146, 22)
HSLhsl(67, 74%, 33%)
HSVhsv(67, 85%, 57%)
CMYKcmyk(10.3%, 0%, 84.9%, 42.7%)
CIE-LABlab(57.50, -20.50, 56.93)
CIE-LCHlch(57.50, 60.51, 109.80°)
OKLaboklab(62.67% -0.0626 0.123)
OKLCHoklch(62.67% 0.138 117)
XYZxyz(19.7843, 25.4413, 4.6273)
Luminance0.2544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#839216 #251692
analogous
#926316 #839216 #459216
triadic
#839216 #168392 #921683
tetradic
#839216 #169263 #251692 #921645
square
#839216 #169263 #251692 #921645
split-complementary
#839216 #164592 #631692
monochromatic
#242806 #535D0E #839216 #B3C71E #CFE240

Accessibility & contrast

On white

3.45
#839216 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#839216 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #839216
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##839216#FFFFFF#000000##000000
##8392161.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#9B8B24
Tritanopia (blue-blind)
#8C897C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #839216;
/* rgb */ color: rgb(131, 146, 22);
/* oklch */ color: oklch(62.7% 0.138 117.0);
Tailwind
colors: {
  custom: {
    50: '#abb162',
    500: '#839216',
    950: '#000000',
  },
}
SCSS
$custom: #839216;
$custom-light: #abb162;
$custom-dark: #000000;
JSON
{
  "hex": "#839216",
  "rgb": {
    "r": 131,
    "g": 146,
    "b": 22
  },
  "hsl": {
    "h": 67.258,
    "s": 73.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.62665,
    "c": 0.13803,
    "h": 117
  },
  "luminance": 0.25441
}

Semantic roles & 50–950 ramp

primary
#839216
secondary
#5141C3
accent
#37F04E
background
#FAFAF6
surface
#F5F5EB
border
#CFCFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #839216

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

Preview Lab → · Contrast checker → · Palette generator →

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