#839318#839318

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

Color values

HEX#839318
RGBrgb(131, 147, 24)
HSLhsl(68, 72%, 34%)
HSVhsv(68, 84%, 58%)
CMYKcmyk(10.9%, 0%, 83.7%, 42.4%)
CIE-LABlab(57.81, -20.94, 56.68)
CIE-LCHlch(57.81, 60.42, 110.28°)
OKLaboklab(62.91% -0.0637 0.1228)
OKLCHoklch(62.91% 0.138 117.4)
XYZxyz(19.9592, 25.7589, 4.7845)
Luminance0.2576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#839318 #281893
analogous
#936518 #839318 #459318
triadic
#839318 #188393 #931883
tetradic
#839318 #189365 #281893 #931845
square
#839318 #189365 #281893 #931845
split-complementary
#839318 #184593 #651893
monochromatic
#252A07 #545E0F #839318 #B2C821 #CCE145

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##839318#FFFFFF#000000##000000
##8393181.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)
#9C8C25
Tritanopia (blue-blind)
#8C8A7D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #839318;
/* rgb */ color: rgb(131, 147, 24);
/* oklch */ color: oklch(62.9% 0.138 117.4);
Tailwind
colors: {
  custom: {
    50: '#abb262',
    500: '#839318',
    950: '#000000',
  },
}
SCSS
$custom: #839318;
$custom-light: #abb262;
$custom-dark: #000000;
JSON
{
  "hex": "#839318",
  "rgb": {
    "r": 131,
    "g": 147,
    "b": 24
  },
  "hsl": {
    "h": 67.805,
    "s": 71.93,
    "l": 33.529
  },
  "oklch": {
    "l": 0.62913,
    "c": 0.13835,
    "h": 117.4
  },
  "luminance": 0.25759
}

Semantic roles & 50–950 ramp

primary
#839318
secondary
#5545C2
accent
#39EF51
background
#FAFAF6
surface
#F5F5EB
border
#CFCFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #839318

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

Preview Lab → · Contrast checker → · Palette generator →

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