#45792A#45792A

#45792A is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.2% C 0.124 H 136.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#45792A
RGBrgb(69, 121, 42)
HSLhsl(99, 48%, 32%)
HSVhsv(99, 65%, 47%)
CMYKcmyk(43%, 0%, 65.3%, 52.5%)
CIE-LABlab(45.78, -32.56, 36.89)
CIE-LCHlch(45.78, 49.20, 131.43°)
OKLaboklab(52.16% -0.0901 0.0855)
OKLCHoklch(52.16% 0.124 136.5)
XYZxyz(9.7093, 15.1066, 4.5943)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45792A #5E2A79
analogous
#6D792A #45792A #2A7937
triadic
#45792A #2A4579 #792A45
tetradic
#45792A #2A6D79 #5E2A79 #79372A
square
#45792A #2A6D79 #5E2A79 #79372A
split-complementary
#45792A #372A79 #792A6D
monochromatic
#111E0A #2B4C1A #45792A #5FA63A #7DC558

Accessibility & contrast

On white

5.22
#45792A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#45792A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #45792A
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45792A#FFFFFF#000000##FFFFFF
##45792A1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F21
Deuteranopia (green-blind)
#766B30
Tritanopia (blue-blind)
#437568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #45792a;
/* rgb */ color: rgb(69, 121, 42);
/* oklch */ color: oklch(52.2% 0.124 136.5);
Tailwind
colors: {
  custom: {
    50: '#7da067',
    500: '#45792a',
    950: '#000000',
  },
}
SCSS
$custom: #45792a;
$custom-light: #7da067;
$custom-dark: #000000;
JSON
{
  "hex": "#45792a",
  "rgb": {
    "r": 69,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 99.494,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5216,
    "c": 0.12423,
    "h": 136.5
  },
  "luminance": 0.15107
}

Semantic roles & 50–950 ramp

primary
#45792A
secondary
#8D54AB
accent
#50D8A9
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #45792A

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

Preview Lab → · Contrast checker → · Palette generator →

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