#839217#839217

#839217 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#839217
RGBrgb(131, 146, 23)
HSLhsl(67, 73%, 33%)
HSVhsv(67, 84%, 57%)
CMYKcmyk(10.3%, 0%, 84.2%, 42.7%)
CIE-LABlab(57.51, -20.47, 56.68)
CIE-LCHlch(57.51, 60.26, 109.85°)
OKLaboklab(62.67% -0.0624 0.1227)
OKLCHoklch(62.67% 0.138 117)
XYZxyz(19.7942, 25.4452, 4.6791)
Luminance0.2545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#839217 #261792
analogous
#926317 #839217 #459217
triadic
#839217 #178392 #921783
tetradic
#839217 #179263 #261792 #921745
square
#839217 #179263 #261792 #921745
split-complementary
#839217 #174592 #631792
monochromatic
#242806 #545D0F #839217 #B2C71F #CEE142

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##839217#FFFFFF#000000##000000
##8392171.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: #839217;
/* rgb */ color: rgb(131, 146, 23);
/* oklch */ color: oklch(62.7% 0.138 117.0);
Tailwind
colors: {
  custom: {
    50: '#abb162',
    500: '#839217',
    950: '#000000',
  },
}
SCSS
$custom: #839217;
$custom-light: #abb162;
$custom-dark: #000000;
JSON
{
  "hex": "#839217",
  "rgb": {
    "r": 131,
    "g": 146,
    "b": 23
  },
  "hsl": {
    "h": 67.317,
    "s": 72.781,
    "l": 33.137
  },
  "oklch": {
    "l": 0.6267,
    "c": 0.13763,
    "h": 117
  },
  "luminance": 0.25445
}

Semantic roles & 50–950 ramp

primary
#839217
secondary
#5243C2
accent
#38EF4F
background
#FAFAF6
surface
#F5F5EB
border
#CFCFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #839217

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

Preview Lab → · Contrast checker → · Palette generator →

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