#39731B#39731B

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

Color values

HEX#39731B
RGBrgb(57, 115, 27)
HSLhsl(100, 62%, 28%)
HSVhsv(100, 77%, 45%)
CMYKcmyk(50.4%, 0%, 76.5%, 54.9%)
CIE-LABlab(43.08, -35.38, 40.37)
CIE-LCHlch(43.08, 53.68, 131.23°)
OKLaboklab(49.75% -0.0981 0.0909)
OKLCHoklch(49.75% 0.134 137.2)
XYZxyz(8.0157, 13.2099, 3.1641)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39731B #551B73
analogous
#65731B #39731B #1B7329
triadic
#39731B #1B3973 #731B39
tetradic
#39731B #1B6573 #551B73 #73291B
square
#39731B #1B6573 #551B73 #73291B
split-complementary
#39731B #291B73 #731B65
monochromatic
#0C1906 #20410F #39731B #52A527 #6CD038

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##39731B#FFFFFF#000000##FFFFFF
##39731B1.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)
#77690A
Deuteranopia (green-blind)
#6F6424
Tritanopia (blue-blind)
#366F62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #39731b;
/* rgb */ color: rgb(57, 115, 27);
/* oklch */ color: oklch(49.8% 0.134 137.2);
Tailwind
colors: {
  custom: {
    50: '#769c5e',
    500: '#39731b',
    950: '#000000',
  },
}
SCSS
$custom: #39731b;
$custom-light: #769c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#39731b",
  "rgb": {
    "r": 57,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 99.545,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.4975,
    "c": 0.13373,
    "h": 137.2
  },
  "luminance": 0.1321
}

Semantic roles & 50–950 ramp

primary
#39731B
secondary
#8542A8
accent
#43E5AE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #39731B

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

Preview Lab → · Contrast checker → · Palette generator →

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