#45821F#45821F

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

Color values

HEX#45821F
RGBrgb(69, 130, 31)
HSLhsl(97, 61%, 32%)
HSVhsv(97, 76%, 51%)
CMYKcmyk(46.9%, 0%, 76.2%, 49%)
CIE-LABlab(48.67, -37.45, 44.59)
CIE-LCHlch(48.67, 58.23, 130.03°)
OKLaboklab(54.5% -0.1042 0.1001)
OKLCHoklch(54.5% 0.145 136.1)
XYZxyz(10.6839, 17.3287, 4.0779)
Luminance0.1733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45821F #5C1F82
analogous
#77821F #45821F #1F822B
triadic
#45821F #1F4582 #821F45
tetradic
#45821F #1F7782 #5C1F82 #822B1F
square
#45821F #1F7782 #5C1F82 #822B1F
split-complementary
#45821F #2B1F82 #821F77
monochromatic
#111F07 #2B5113 #45821F #5FB32B #7ED348

Accessibility & contrast

On white

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

On black

4.47
#45821F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##45821F#FFFFFF#000000##FFFFFF
##45821F1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770B
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#427D6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #45821f;
/* rgb */ color: rgb(69, 130, 31);
/* oklch */ color: oklch(54.5% 0.145 136.1);
Tailwind
colors: {
  custom: {
    50: '#7fa762',
    500: '#45821f',
    950: '#000000',
  },
}
SCSS
$custom: #45821f;
$custom-light: #7fa762;
$custom-dark: #000000;
JSON
{
  "hex": "#45821f",
  "rgb": {
    "r": 69,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 96.97,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54501,
    "c": 0.14455,
    "h": 136.1
  },
  "luminance": 0.17329
}

Semantic roles & 50–950 ramp

primary
#45821F
secondary
#8B48B5
accent
#43E5A7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A0F05
muted
#7C7F7A

Preview Lab

Preview with #45821F

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

Preview Lab → · Contrast checker → · Palette generator →

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