#839042#839042

#839042 is a light, moderate yellow-green. Relative luminance 0.252; OKLCH L 62.6% C 0.104 H 117.4°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#839042
RGBrgb(131, 144, 66)
HSLhsl(70, 37%, 41%)
HSVhsv(70, 54%, 56%)
CMYKcmyk(9%, 0%, 54.2%, 43.5%)
CIE-LABlab(57.24, -16.71, 39.34)
CIE-LCHlch(57.24, 42.74, 113.02°)
OKLaboklab(62.56% -0.0479 0.0925)
OKLCHoklch(62.56% 0.104 117.4)
XYZxyz(20.3170, 25.1653, 8.9403)
Luminance0.2516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#839042 #4F4290
analogous
#907642 #839042 #5C9042
triadic
#839042 #428390 #904283
tetradic
#839042 #429076 #4F4290 #90425C
square
#839042 #429076 #4F4290 #90425C
split-complementary
#839042 #425C90 #764290
monochromatic
#373C1C #5D662F #839042 #A5B45B #BCC785

Accessibility & contrast

On white

3.48
#839042 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#839042 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #839042
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##839042#FFFFFF#000000##000000
##8390421.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#99893A
Deuteranopia (green-blind)
#978A46
Tritanopia (blue-blind)
#8A897F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #839042;
/* rgb */ color: rgb(131, 144, 66);
/* oklch */ color: oklch(62.6% 0.104 117.4);
Tailwind
colors: {
  custom: {
    50: '#a9b079',
    500: '#839042',
    950: '#000000',
  },
}
SCSS
$custom: #839042;
$custom-light: #a9b079;
$custom-dark: #000000;
JSON
{
  "hex": "#839042",
  "rgb": {
    "r": 131,
    "g": 144,
    "b": 66
  },
  "hsl": {
    "h": 70,
    "s": 37.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.62555,
    "c": 0.10417,
    "h": 117.4
  },
  "luminance": 0.25165
}

Semantic roles & 50–950 ramp

primary
#839042
secondary
#857CB2
accent
#5BCD6E
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#101009
muted
#7F7F7B

Preview Lab

Preview with #839042

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

Preview Lab → · Contrast checker → · Palette generator →

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