#45781B#45781B

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

Color values

HEX#45781B
RGBrgb(69, 120, 27)
HSLhsl(93, 63%, 29%)
HSVhsv(93, 78%, 47%)
CMYKcmyk(42.5%, 0%, 77.5%, 52.9%)
CIE-LABlab(45.33, -33.38, 42.79)
CIE-LCHlch(45.33, 54.26, 127.96°)
OKLaboklab(51.75% -0.0935 0.0958)
OKLCHoklch(51.75% 0.134 134.3)
XYZxyz(9.3684, 14.7768, 3.3953)
Luminance0.1478 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45781B #4E1B78
analogous
#74781B #45781B #1B7820
triadic
#45781B #1B4578 #781B45
tetradic
#45781B #1B7478 #4E1B78 #78201B
square
#45781B #1B7478 #4E1B78 #78201B
split-complementary
#45781B #201B78 #781B74
monochromatic
#0E1906 #284610 #45781B #62AA26 #7FD33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45781B#FFFFFF#000000##FFFFFF
##45781B1.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)
#7D6E07
Deuteranopia (green-blind)
#766A24
Tritanopia (blue-blind)
#447366
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #45781b;
/* rgb */ color: rgb(69, 120, 27);
/* oklch */ color: oklch(51.8% 0.134 134.3);
Tailwind
colors: {
  custom: {
    50: '#7e9f5f',
    500: '#45781b',
    950: '#000000',
  },
}
SCSS
$custom: #45781b;
$custom-light: #7e9f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#45781b",
  "rgb": {
    "r": 69,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 92.903,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51751,
    "c": 0.13384,
    "h": 134.3
  },
  "luminance": 0.14777
}

Semantic roles & 50–950 ramp

primary
#45781B
secondary
#7D43AC
accent
#41E69C
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #45781B

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

Preview Lab → · Contrast checker → · Palette generator →

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