#45781C#45781C

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

Color values

HEX#45781C
RGBrgb(69, 120, 28)
HSLhsl(93, 62%, 29%)
HSVhsv(93, 77%, 47%)
CMYKcmyk(42.5%, 0%, 76.7%, 52.9%)
CIE-LABlab(45.33, -33.31, 42.42)
CIE-LCHlch(45.33, 53.93, 128.14°)
OKLaboklab(51.76% -0.0933 0.0951)
OKLCHoklch(51.76% 0.133 134.4)
XYZxyz(9.3801, 14.7815, 3.4572)
Luminance0.1478 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45781C #4F1C78
analogous
#73781C #45781C #1C7821
triadic
#45781C #1C4578 #781C45
tetradic
#45781C #1C7378 #4F1C78 #78211C
square
#45781C #1C7378 #4F1C78 #78211C
split-complementary
#45781C #211C78 #781C73
monochromatic
#0E1906 #284610 #45781C #62AA28 #7FD23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45781C#FFFFFF#000000##FFFFFF
##45781C1.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)
#7D6E0A
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#447366
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #45781c;
/* rgb */ color: rgb(69, 120, 28);
/* oklch */ color: oklch(51.8% 0.133 134.4);
Tailwind
colors: {
  custom: {
    50: '#7e9f5f',
    500: '#45781c',
    950: '#000000',
  },
}
SCSS
$custom: #45781c;
$custom-light: #7e9f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#45781c",
  "rgb": {
    "r": 69,
    "g": 120,
    "b": 28
  },
  "hsl": {
    "h": 93.261,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51758,
    "c": 0.13322,
    "h": 134.4
  },
  "luminance": 0.14782
}

Semantic roles & 50–950 ramp

primary
#45781C
secondary
#7E44AC
accent
#43E59D
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #45781C

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

Preview Lab → · Contrast checker → · Palette generator →

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