#45731C#45731C

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

Color values

HEX#45731C
RGBrgb(69, 115, 28)
HSLhsl(92, 61%, 28%)
HSVhsv(92, 76%, 45%)
CMYKcmyk(40%, 0%, 75.7%, 54.9%)
CIE-LABlab(43.67, -31.04, 40.76)
CIE-LCHlch(43.67, 51.24, 127.29°)
OKLaboklab(50.4% -0.0871 0.0917)
OKLCHoklch(50.4% 0.126 133.5)
XYZxyz(8.7944, 13.6101, 3.2620)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45731C #4A1C73
analogous
#70731C #45731C #1C731E
triadic
#45731C #1C4573 #731C45
tetradic
#45731C #1C7073 #4A1C73 #731E1C
square
#45731C #1C7073 #4A1C73 #731E1C
split-complementary
#45731C #1E1C73 #731C70
monochromatic
#0F1906 #274210 #45731C #63A428 #80CF3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45731C#FFFFFF#000000##FFFFFF
##45731C1.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)
#786A0C
Deuteranopia (green-blind)
#726624
Tritanopia (blue-blind)
#456E62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #45731c;
/* rgb */ color: rgb(69, 115, 28);
/* oklch */ color: oklch(50.4% 0.126 133.5);
Tailwind
colors: {
  custom: {
    50: '#7d9b5e',
    500: '#45731c',
    950: '#000000',
  },
}
SCSS
$custom: #45731c;
$custom-light: #7d9b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#45731c",
  "rgb": {
    "r": 69,
    "g": 115,
    "b": 28
  },
  "hsl": {
    "h": 91.724,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50396,
    "c": 0.12647,
    "h": 133.5
  },
  "luminance": 0.13611
}

Semantic roles & 50–950 ramp

primary
#45731C
secondary
#7843A7
accent
#44E499
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #45731C

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

Preview Lab → · Contrast checker → · Palette generator →

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