#45781A#45781A

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

Color values

HEX#45781A
RGBrgb(69, 120, 26)
HSLhsl(93, 64%, 29%)
HSVhsv(93, 78%, 47%)
CMYKcmyk(42.5%, 0%, 78.3%, 52.9%)
CIE-LABlab(45.32, -33.44, 43.15)
CIE-LCHlch(45.32, 54.59, 127.78°)
OKLaboklab(51.74% -0.0938 0.0963)
OKLCHoklch(51.74% 0.134 134.2)
XYZxyz(9.3570, 14.7722, 3.3354)
Luminance0.1477 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45781A #4D1A78
analogous
#74781A #45781A #1A781E
triadic
#45781A #1A4578 #781A45
tetradic
#45781A #1A7478 #4D1A78 #781E1A
square
#45781A #1A7478 #4D1A78 #781E1A
split-complementary
#45781A #1E1A78 #781A74
monochromatic
#0E1905 #28460F #45781A #62AA25 #80D438

Accessibility & contrast

On white

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

On black

3.95
#45781A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##45781A#FFFFFF#000000##FFFFFF
##45781A1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #45781a;
/* rgb */ color: rgb(69, 120, 26);
/* oklch */ color: oklch(51.7% 0.134 134.2);
Tailwind
colors: {
  custom: {
    50: '#7e9f5e',
    500: '#45781a',
    950: '#000000',
  },
}
SCSS
$custom: #45781a;
$custom-light: #7e9f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#45781a",
  "rgb": {
    "r": 69,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 92.553,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51744,
    "c": 0.13444,
    "h": 134.2
  },
  "luminance": 0.14773
}

Semantic roles & 50–950 ramp

primary
#45781A
secondary
#7B41AC
accent
#40E79B
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #45781A

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

Preview Lab → · Contrast checker → · Palette generator →

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