#45791E#45791E

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

Color values

HEX#45791E
RGBrgb(69, 121, 30)
HSLhsl(94, 60%, 30%)
HSVhsv(94, 75%, 47%)
CMYKcmyk(43%, 0%, 75.2%, 52.5%)
CIE-LABlab(45.68, -33.61, 41.99)
CIE-LCHlch(45.68, 53.78, 128.68°)
OKLaboklab(52.05% -0.0939 0.0946)
OKLCHoklch(52.05% 0.133 134.8)
XYZxyz(9.5258, 15.0332, 3.6278)
Luminance0.1503 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45791E #521E79
analogous
#73791E #45791E #1E7925
triadic
#45791E #1E4579 #791E45
tetradic
#45791E #1E7379 #521E79 #79251E
square
#45791E #1E7379 #521E79 #79251E
split-complementary
#45791E #251E79 #791E73
monochromatic
#0E1906 #294812 #45791E #61AA2A #7FD041

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45791E#FFFFFF#000000##FFFFFF
##45791E1.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)
#7E6F0E
Deuteranopia (green-blind)
#776B27
Tritanopia (blue-blind)
#447467
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #45791e;
/* rgb */ color: rgb(69, 121, 30);
/* oklch */ color: oklch(52.0% 0.133 134.8);
Tailwind
colors: {
  custom: {
    50: '#7ea060',
    500: '#45791e',
    950: '#000000',
  },
}
SCSS
$custom: #45791e;
$custom-light: #7ea060;
$custom-dark: #000000;
JSON
{
  "hex": "#45791e",
  "rgb": {
    "r": 69,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 94.286,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52046,
    "c": 0.13328,
    "h": 134.8
  },
  "luminance": 0.15034
}

Semantic roles & 50–950 ramp

primary
#45791E
secondary
#8146AD
accent
#44E39F
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #45791E

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

Preview Lab → · Contrast checker → · Palette generator →

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