#45981F#45981F

#45981F is a mid, vivid green. Relative luminance 0.238; OKLCH L 60.5% C 0.172 H 138.1°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#45981F
RGBrgb(69, 152, 31)
HSLhsl(101, 66%, 36%)
HSVhsv(101, 80%, 60%)
CMYKcmyk(54.6%, 0%, 79.6%, 40.4%)
CIE-LABlab(55.91, -46.33, 51.60)
CIE-LCHlch(55.91, 69.35, 131.92°)
OKLaboklab(60.46% -0.1281 0.1148)
OKLCHoklch(60.46% 0.172 138.1)
XYZxyz(13.9293, 23.8195, 5.1597)
Luminance0.2382 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45981F #721F98
analogous
#81981F #45981F #1F9835
triadic
#45981F #1F4598 #981F45
tetradic
#45981F #1F8198 #721F98 #98351F
square
#45981F #1F8198 #721F98 #98351F
split-complementary
#45981F #351F98 #981F81
monochromatic
#17320A #2E6515 #45981F #5CCB29 #80DC55

Accessibility & contrast

On white

3.64
#45981F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#45981F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #45981F
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45981F#FFFFFF#000000##000000
##45981F1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#92832D
Tritanopia (blue-blind)
#3E9382
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #45981f;
/* rgb */ color: rgb(69, 152, 31);
/* oklch */ color: oklch(60.5% 0.172 138.1);
Tailwind
colors: {
  custom: {
    50: '#82b765',
    500: '#45981f',
    950: '#000000',
  },
}
SCSS
$custom: #45981f;
$custom-light: #82b765;
$custom-dark: #000000;
JSON
{
  "hex": "#45981f",
  "rgb": {
    "r": 69,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 101.157,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60455,
    "c": 0.17204,
    "h": 138.1
  },
  "luminance": 0.23821
}

Semantic roles & 50–950 ramp

primary
#45981F
secondary
#9E53C0
accent
#3FE9B4
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #45981F

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

Preview Lab → · Contrast checker → · Palette generator →

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