#45821E#45821E

#45821E is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.5% C 0.145 H 136.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#45821E
RGBrgb(69, 130, 30)
HSLhsl(97, 63%, 31%)
HSVhsv(97, 77%, 51%)
CMYKcmyk(46.9%, 0%, 76.9%, 49%)
CIE-LABlab(48.67, -37.52, 44.95)
CIE-LCHlch(48.67, 58.55, 129.85°)
OKLaboklab(54.49% -0.1045 0.1008)
OKLCHoklch(54.49% 0.145 136)
XYZxyz(10.6709, 17.3235, 4.0095)
Luminance0.1732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45821E #5B1E82
analogous
#77821E #45821E #1E8229
triadic
#45821E #1E4582 #821E45
tetradic
#45821E #1E7782 #5B1E82 #82291E
square
#45821E #1E7782 #5B1E82 #82291E
split-complementary
#45821E #291E82 #821E77
monochromatic
#101F07 #2B5013 #45821E #5FB429 #7ED446

Accessibility & contrast

On white

4.70
#45821E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#45821E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #45821E
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45821E#FFFFFF#000000##FFFFFF
##45821E1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877709
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#427D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #45821e;
/* rgb */ color: rgb(69, 130, 30);
/* oklch */ color: oklch(54.5% 0.145 136.0);
Tailwind
colors: {
  custom: {
    50: '#7fa761',
    500: '#45821e',
    950: '#000000',
  },
}
SCSS
$custom: #45821e;
$custom-light: #7fa761;
$custom-dark: #000000;
JSON
{
  "hex": "#45821e",
  "rgb": {
    "r": 69,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 96.6,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54494,
    "c": 0.14515,
    "h": 136
  },
  "luminance": 0.17324
}

Semantic roles & 50–950 ramp

primary
#45821E
secondary
#8A47B5
accent
#42E6A6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #45821E

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

Preview Lab → · Contrast checker → · Palette generator →

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