#839317#839317

#839317 is a light, vivid yellow. Relative luminance 0.258; OKLCH L 62.9% C 0.139 H 117.4°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#839317
RGBrgb(131, 147, 23)
HSLhsl(68, 73%, 33%)
HSVhsv(68, 84%, 58%)
CMYKcmyk(10.9%, 0%, 84.4%, 42.4%)
CIE-LABlab(57.80, -20.98, 56.94)
CIE-LCHlch(57.80, 60.68, 110.22°)
OKLaboklab(62.91% -0.0638 0.1232)
OKLCHoklch(62.91% 0.139 117.4)
XYZxyz(19.9490, 25.7548, 4.7307)
Luminance0.2576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#839317 #271793
analogous
#936517 #839317 #459317
triadic
#839317 #178393 #931783
tetradic
#839317 #179365 #271793 #931745
square
#839317 #179365 #271793 #931745
split-complementary
#839317 #174593 #651793
monochromatic
#252906 #545E0F #839317 #B2C81F #CDE243

Accessibility & contrast

On white

3.41
#839317 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#839317 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #839317
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##839317#FFFFFF#000000##000000
##8393171.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#9C8B25
Tritanopia (blue-blind)
#8C8A7D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #839317;
/* rgb */ color: rgb(131, 147, 23);
/* oklch */ color: oklch(62.9% 0.139 117.4);
Tailwind
colors: {
  custom: {
    50: '#abb262',
    500: '#839317',
    950: '#000000',
  },
}
SCSS
$custom: #839317;
$custom-light: #abb262;
$custom-dark: #000000;
JSON
{
  "hex": "#839317",
  "rgb": {
    "r": 131,
    "g": 147,
    "b": 23
  },
  "hsl": {
    "h": 67.742,
    "s": 72.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.62909,
    "c": 0.13876,
    "h": 117.4
  },
  "luminance": 0.25755
}

Semantic roles & 50–950 ramp

primary
#839317
secondary
#5444C2
accent
#38F050
background
#FAFAF6
surface
#F5F5EB
border
#CFCFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #839317

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

Preview Lab → · Contrast checker → · Palette generator →

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