#839728#839728

#839728 is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 64.0% C 0.135 H 119.4°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#839728
RGBrgb(131, 151, 40)
HSLhsl(71, 58%, 37%)
HSVhsv(71, 74%, 59%)
CMYKcmyk(13.2%, 0%, 73.5%, 40.8%)
CIE-LABlab(59.08, -22.25, 52.73)
CIE-LCHlch(59.08, 57.24, 112.88°)
OKLaboklab(63.96% -0.066 0.1173)
OKLCHoklch(63.96% 0.135 119.4)
XYZxyz(20.8101, 27.1118, 6.1439)
Luminance0.2711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#839728 #3C2897
analogous
#977428 #839728 #4B9728
triadic
#839728 #288397 #972883
tetradic
#839728 #289774 #3C2897 #97284B
square
#839728 #289774 #3C2897 #97284B
split-complementary
#839728 #284B97 #742897
monochromatic
#2F360E #59671B #839728 #ADC735 #C1D664

Accessibility & contrast

On white

3.27
#839728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#839728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #839728
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##839728#FFFFFF#000000##000000
##8397281.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E13
Deuteranopia (green-blind)
#9F8F31
Tritanopia (blue-blind)
#8B8F82
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #839728;
/* rgb */ color: rgb(131, 151, 40);
/* oklch */ color: oklch(64.0% 0.135 119.4);
Tailwind
colors: {
  custom: {
    50: '#aab56a',
    500: '#839728',
    950: '#000000',
  },
}
SCSS
$custom: #839728;
$custom-light: #aab56a;
$custom-dark: #000000;
JSON
{
  "hex": "#839728",
  "rgb": {
    "r": 131,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 70.811,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63961,
    "c": 0.13458,
    "h": 119.4
  },
  "luminance": 0.27112
}

Semantic roles & 50–950 ramp

primary
#839728
secondary
#705FBC
accent
#46E162
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #839728

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

Preview Lab → · Contrast checker → · Palette generator →

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