#45791D#45791D

#45791D is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 52.0% C 0.134 H 134.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#45791D
RGBrgb(69, 121, 29)
HSLhsl(94, 61%, 29%)
HSVhsv(94, 76%, 47%)
CMYKcmyk(43%, 0%, 76%, 52.5%)
CIE-LABlab(45.67, -33.68, 42.37)
CIE-LCHlch(45.67, 54.13, 128.48°)
OKLaboklab(52.04% -0.0942 0.0952)
OKLCHoklch(52.04% 0.134 134.7)
XYZxyz(9.5132, 15.0282, 3.5616)
Luminance0.1503 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45791D #511D79
analogous
#73791D #45791D #1D7923
triadic
#45791D #1D4579 #791D45
tetradic
#45791D #1D7379 #511D79 #79231D
square
#45791D #1D7379 #511D79 #79231D
split-complementary
#45791D #231D79 #791D73
monochromatic
#0E1906 #294811 #45791D #61AA29 #7FD13F

Accessibility & contrast

On white

5.24
#45791D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#45791D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #45791D
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45791D#FFFFFF#000000##FFFFFF
##45791D1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0B
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#447467
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #45791d;
/* rgb */ color: rgb(69, 121, 29);
/* oklch */ color: oklch(52.0% 0.134 134.7);
Tailwind
colors: {
  custom: {
    50: '#7ea060',
    500: '#45791d',
    950: '#000000',
  },
}
SCSS
$custom: #45791d;
$custom-light: #7ea060;
$custom-dark: #000000;
JSON
{
  "hex": "#45791d",
  "rgb": {
    "r": 69,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 93.913,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52038,
    "c": 0.13392,
    "h": 134.7
  },
  "luminance": 0.15029
}

Semantic roles & 50–950 ramp

primary
#45791D
secondary
#8045AD
accent
#43E49E
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #45791D

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

Preview Lab → · Contrast checker → · Palette generator →

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