#45781E#45781E

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

Color values

HEX#45781E
RGBrgb(69, 120, 30)
HSLhsl(94, 60%, 29%)
HSVhsv(94, 75%, 47%)
CMYKcmyk(42.5%, 0%, 75%, 52.9%)
CIE-LABlab(45.35, -33.16, 41.65)
CIE-LCHlch(45.35, 53.24, 128.53°)
OKLaboklab(51.77% -0.0927 0.0939)
OKLCHoklch(51.77% 0.132 134.7)
XYZxyz(9.4049, 14.7914, 3.5875)
Luminance0.1479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45781E #511E78
analogous
#72781E #45781E #1E7824
triadic
#45781E #1E4578 #781E45
tetradic
#45781E #1E7278 #511E78 #78241E
square
#45781E #1E7278 #511E78 #78241E
split-complementary
#45781E #241E78 #781E72
monochromatic
#0E1806 #294712 #45781E #61A92A #7FCF41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45781E#FFFFFF#000000##FFFFFF
##45781E1.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)
#7D6E0E
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#447366
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #45781e;
/* rgb */ color: rgb(69, 120, 30);
/* oklch */ color: oklch(51.8% 0.132 134.7);
Tailwind
colors: {
  custom: {
    50: '#7d9f60',
    500: '#45781e',
    950: '#000000',
  },
}
SCSS
$custom: #45781e;
$custom-light: #7d9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#45781e",
  "rgb": {
    "r": 69,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 94,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51774,
    "c": 0.13193,
    "h": 134.7
  },
  "luminance": 0.14792
}

Semantic roles & 50–950 ramp

primary
#45781E
secondary
#8046AC
accent
#45E39E
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #45781E

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

Preview Lab → · Contrast checker → · Palette generator →

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