#45731A#45731A

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

Color values

HEX#45731A
RGBrgb(69, 115, 26)
HSLhsl(91, 63%, 28%)
HSVhsv(91, 77%, 45%)
CMYKcmyk(40%, 0%, 77.4%, 54.9%)
CIE-LABlab(43.65, -31.18, 41.52)
CIE-LCHlch(43.65, 51.93, 126.91°)
OKLaboklab(50.38% -0.0877 0.0929)
OKLCHoklch(50.38% 0.128 133.3)
XYZxyz(8.7713, 13.6008, 3.1401)
Luminance0.1360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45731A #481A73
analogous
#72731A #45731A #1A731B
triadic
#45731A #1A4573 #731A45
tetradic
#45731A #1A7273 #481A73 #731B1A
square
#45731A #1A7273 #481A73 #731B1A
split-complementary
#45731A #1B1A73 #731A72
monochromatic
#0F1906 #27410F #45731A #63A525 #81D236

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45731A#FFFFFF#000000##FFFFFF
##45731A1.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)
#786908
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#456E62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #45731a;
/* rgb */ color: rgb(69, 115, 26);
/* oklch */ color: oklch(50.4% 0.128 133.3);
Tailwind
colors: {
  custom: {
    50: '#7d9b5d',
    500: '#45731a',
    950: '#000000',
  },
}
SCSS
$custom: #45731a;
$custom-light: #7d9b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#45731a",
  "rgb": {
    "r": 69,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 91.011,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.5038,
    "c": 0.12776,
    "h": 133.3
  },
  "luminance": 0.13601
}

Semantic roles & 50–950 ramp

primary
#45731A
secondary
#7641A8
accent
#42E697
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #45731A

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

Preview Lab → · Contrast checker → · Palette generator →

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