#839315#839315

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

Color values

HEX#839315
RGBrgb(131, 147, 21)
HSLhsl(68, 75%, 33%)
HSVhsv(68, 86%, 58%)
CMYKcmyk(10.9%, 0%, 85.7%, 42.4%)
CIE-LABlab(57.80, -21.04, 57.43)
CIE-LCHlch(57.80, 61.16, 110.12°)
OKLaboklab(62.9% -0.0641 0.1239)
OKLCHoklch(62.9% 0.14 117.4)
XYZxyz(19.9297, 25.7471, 4.6291)
Luminance0.2575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#839315 #251593
analogous
#936415 #839315 #449315
triadic
#839315 #158393 #931583
tetradic
#839315 #159364 #251593 #931544
square
#839315 #159364 #251593 #931544
split-complementary
#839315 #154493 #641593
monochromatic
#242806 #535D0D #839315 #B3C91D #CFE43F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##839315#FFFFFF#000000##000000
##8393151.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)
#9E8A00
Deuteranopia (green-blind)
#9C8B23
Tritanopia (blue-blind)
#8C8A7D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #839315;
/* rgb */ color: rgb(131, 147, 21);
/* oklch */ color: oklch(62.9% 0.140 117.4);
Tailwind
colors: {
  custom: {
    50: '#abb261',
    500: '#839315',
    950: '#000000',
  },
}
SCSS
$custom: #839315;
$custom-light: #abb261;
$custom-dark: #000000;
JSON
{
  "hex": "#839315",
  "rgb": {
    "r": 131,
    "g": 147,
    "b": 21
  },
  "hsl": {
    "h": 67.619,
    "s": 75,
    "l": 32.941
  },
  "oklch": {
    "l": 0.629,
    "c": 0.13955,
    "h": 117.4
  },
  "luminance": 0.25747
}

Semantic roles & 50–950 ramp

primary
#839315
secondary
#5140C4
accent
#36F24E
background
#FAFAF6
surface
#F5F5EB
border
#CFCFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #839315

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

Preview Lab → · Contrast checker → · Palette generator →

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