#45B31C#45B31C

#45B31C is a light, highly saturated green. Relative luminance 0.336; OKLCH L 67.7% C 0.204 H 139.4°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#45B31C
RGBrgb(69, 179, 28)
HSLhsl(104, 73%, 41%)
HSVhsv(104, 84%, 70%)
CMYKcmyk(61.5%, 0%, 84.4%, 29.8%)
CIE-LABlab(64.63, -56.32, 60.49)
CIE-LCHlch(64.63, 82.65, 132.96°)
OKLaboklab(67.66% -0.1551 0.133)
OKLCHoklch(67.66% 0.204 139.4)
XYZxyz(18.7831, 33.5875, 6.5916)
Luminance0.3359 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45B31C #8A1CB3
analogous
#90B31C #45B31C #1CB33F
triadic
#45B31C #1C45B3 #B31C45
tetradic
#45B31C #1C90B3 #8A1CB3 #B33F1C
square
#45B31C #1C90B3 #8A1CB3 #B33F1C
split-complementary
#45B31C #3F1CB3 #B31C90
monochromatic
#1C490B #317E14 #45B31C #5EDE2E #87E763

Accessibility & contrast

On white

2.72
#45B31C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#45B31C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #45B31C
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45B31C#FFFFFF#000000##000000
##45B31C1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#AB9930
Tritanopia (blue-blind)
#37AD98
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #45b31c;
/* rgb */ color: rgb(69, 179, 28);
/* oklch */ color: oklch(67.7% 0.204 139.4);
Tailwind
colors: {
  custom: {
    50: '#87cb68',
    500: '#45b31c',
    950: '#000000',
  },
}
SCSS
$custom: #45b31c;
$custom-light: #87cb68;
$custom-dark: #000000;
JSON
{
  "hex": "#45b31c",
  "rgb": {
    "r": 69,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 103.709,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.67661,
    "c": 0.20432,
    "h": 139.4
  },
  "luminance": 0.33589
}

Semantic roles & 50–950 ramp

primary
#45B31C
secondary
#AE5FCB
accent
#38F0BE
background
#F8FCF6
surface
#F0F9EB
border
#CBD2C6
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #45B31C

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

Preview Lab → · Contrast checker → · Palette generator →

#45B31C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva