#45731B#45731B

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

Color values

HEX#45731B
RGBrgb(69, 115, 27)
HSLhsl(91, 62%, 28%)
HSVhsv(91, 77%, 45%)
CMYKcmyk(40%, 0%, 76.5%, 54.9%)
CIE-LABlab(43.66, -31.11, 41.14)
CIE-LCHlch(43.66, 51.59, 127.10°)
OKLaboklab(50.39% -0.0874 0.0923)
OKLCHoklch(50.39% 0.127 133.4)
XYZxyz(8.7827, 13.6054, 3.2000)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45731B #491B73
analogous
#71731B #45731B #1B731D
triadic
#45731B #1B4573 #731B45
tetradic
#45731B #1B7173 #491B73 #731D1B
square
#45731B #1B7173 #491B73 #731D1B
split-complementary
#45731B #1D1B73 #731B71
monochromatic
#0F1906 #27410F #45731B #63A527 #81D038

Accessibility & contrast

On white

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

On black

3.72
#45731B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##45731B#FFFFFF#000000##FFFFFF
##45731B1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #45731b;
/* rgb */ color: rgb(69, 115, 27);
/* oklch */ color: oklch(50.4% 0.127 133.4);
Tailwind
colors: {
  custom: {
    50: '#7d9b5e',
    500: '#45731b',
    950: '#000000',
  },
}
SCSS
$custom: #45731b;
$custom-light: #7d9b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#45731b",
  "rgb": {
    "r": 69,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 91.364,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50388,
    "c": 0.12712,
    "h": 133.4
  },
  "luminance": 0.13606
}

Semantic roles & 50–950 ramp

primary
#45731B
secondary
#7742A8
accent
#43E598
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #45731B

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

Preview Lab → · Contrast checker → · Palette generator →

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