#45781D#45781D

#45781D is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.8% C 0.133 H 134.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#45781D
RGBrgb(69, 120, 29)
HSLhsl(94, 61%, 29%)
HSVhsv(94, 76%, 47%)
CMYKcmyk(42.5%, 0%, 75.8%, 52.9%)
CIE-LABlab(45.34, -33.24, 42.04)
CIE-LCHlch(45.34, 53.59, 128.33°)
OKLaboklab(51.77% -0.093 0.0945)
OKLCHoklch(51.77% 0.133 134.5)
XYZxyz(9.3923, 14.7864, 3.5213)
Luminance0.1479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45781D #501D78
analogous
#73781D #45781D #1D7822
triadic
#45781D #1D4578 #781D45
tetradic
#45781D #1D7378 #501D78 #78221D
square
#45781D #1D7378 #501D78 #78221D
split-complementary
#45781D #221D78 #781D73
monochromatic
#0E1906 #294711 #45781D #61A929 #7FD13F

Accessibility & contrast

On white

5.31
#45781D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#45781D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #45781D
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45781D#FFFFFF#000000##FFFFFF
##45781D1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E0C
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#447366
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #45781d;
/* rgb */ color: rgb(69, 120, 29);
/* oklch */ color: oklch(51.8% 0.133 134.5);
Tailwind
colors: {
  custom: {
    50: '#7d9f60',
    500: '#45781d',
    950: '#000000',
  },
}
SCSS
$custom: #45781d;
$custom-light: #7d9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#45781d",
  "rgb": {
    "r": 69,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 93.626,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51766,
    "c": 0.13258,
    "h": 134.5
  },
  "luminance": 0.14787
}

Semantic roles & 50–950 ramp

primary
#45781D
secondary
#7F45AC
accent
#44E49E
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #45781D

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

Preview Lab → · Contrast checker → · Palette generator →

#45781D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva