#39731A#39731A

#39731A is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 49.7% C 0.134 H 137.1°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#39731A
RGBrgb(57, 115, 26)
HSLhsl(99, 63%, 28%)
HSVhsv(99, 77%, 45%)
CMYKcmyk(50.4%, 0%, 77.4%, 54.9%)
CIE-LABlab(43.07, -35.45, 40.75)
CIE-LCHlch(43.07, 54.01, 131.03°)
OKLaboklab(49.74% -0.0984 0.0915)
OKLCHoklch(49.74% 0.134 137.1)
XYZxyz(8.0043, 13.2054, 3.1042)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39731A #541A73
analogous
#66731A #39731A #1A7327
triadic
#39731A #1A3973 #731A39
tetradic
#39731A #1A6673 #541A73 #73271A
square
#39731A #1A6673 #541A73 #73271A
split-complementary
#39731A #271A73 #731A66
monochromatic
#0C1906 #20410F #39731A #52A525 #6CD236

Accessibility & contrast

On white

5.77
#39731A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#39731A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #39731A
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39731A#FFFFFF#000000##FFFFFF
##39731A1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776908
Deuteranopia (green-blind)
#6F6423
Tritanopia (blue-blind)
#366F62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #39731a;
/* rgb */ color: rgb(57, 115, 26);
/* oklch */ color: oklch(49.7% 0.134 137.1);
Tailwind
colors: {
  custom: {
    50: '#769c5d',
    500: '#39731a',
    950: '#000000',
  },
}
SCSS
$custom: #39731a;
$custom-light: #769c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#39731a",
  "rgb": {
    "r": 57,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 99.101,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49743,
    "c": 0.13437,
    "h": 137.1
  },
  "luminance": 0.13206
}

Semantic roles & 50–950 ramp

primary
#39731A
secondary
#8441A8
accent
#42E6AD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #39731A

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

Preview Lab → · Contrast checker → · Palette generator →

#39731A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva