#45731F#45731F

#45731F is a mid, vivid yellow-green. Relative luminance 0.136; OKLCH L 50.4% C 0.124 H 133.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#45731F
RGBrgb(69, 115, 31)
HSLhsl(93, 58%, 29%)
HSVhsv(93, 73%, 45%)
CMYKcmyk(40%, 0%, 73%, 54.9%)
CIE-LABlab(43.69, -30.82, 39.56)
CIE-LCHlch(43.69, 50.15, 127.92°)
OKLaboklab(50.42% -0.0863 0.0896)
OKLCHoklch(50.42% 0.124 133.9)
XYZxyz(8.8321, 13.6252, 3.4606)
Luminance0.1363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45731F #4D1F73
analogous
#6F731F #45731F #1F7323
triadic
#45731F #1F4573 #731F45
tetradic
#45731F #1F6F73 #4D1F73 #73231F
square
#45731F #1F6F73 #4D1F73 #73231F
split-complementary
#45731F #231F73 #731F6F
monochromatic
#0E1806 #284312 #45731F #62A32C #80CC41

Accessibility & contrast

On white

5.64
#45731F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#45731F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #45731F
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45731F#FFFFFF#000000##FFFFFF
##45731F1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A12
Deuteranopia (green-blind)
#716627
Tritanopia (blue-blind)
#456E62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #45731f;
/* rgb */ color: rgb(69, 115, 31);
/* oklch */ color: oklch(50.4% 0.124 133.9);
Tailwind
colors: {
  custom: {
    50: '#7d9b60',
    500: '#45731f',
    950: '#000000',
  },
}
SCSS
$custom: #45731f;
$custom-light: #7d9b60;
$custom-dark: #000000;
JSON
{
  "hex": "#45731f",
  "rgb": {
    "r": 69,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 92.857,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50421,
    "c": 0.1244,
    "h": 133.9
  },
  "luminance": 0.13626
}

Semantic roles & 50–950 ramp

primary
#45731F
secondary
#7B47A7
accent
#47E19B
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #45731F

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

Preview Lab → · Contrast checker → · Palette generator →

#45731F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva