#40951B#40951B

#40951B is a mid, vivid green. Relative luminance 0.227; OKLCH L 59.4% C 0.173 H 138.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#40951B
RGBrgb(64, 149, 27)
HSLhsl(102, 69%, 35%)
HSVhsv(102, 82%, 58%)
CMYKcmyk(57%, 0%, 81.9%, 41.6%)
CIE-LABlab(54.72, -46.84, 51.67)
CIE-LCHlch(54.72, 69.74, 132.19°)
OKLaboklab(59.42% -0.1294 0.1144)
OKLCHoklch(59.42% 0.173 138.5)
XYZxyz(13.0591, 22.6629, 4.7229)
Luminance0.2266 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40951B #701B95
analogous
#7D951B #40951B #1B9533
triadic
#40951B #1B4095 #951B40
tetradic
#40951B #1B7D95 #701B95 #95331B
square
#40951B #1B7D95 #701B95 #95331B
split-complementary
#40951B #331B95 #951B7D
monochromatic
#132D08 #2A6112 #40951B #56C924 #78DF4C

Accessibility & contrast

On white

3.80
#40951B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#40951B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40951B
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40951B#FFFFFF#000000##000000
##40951B1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#8F802A
Tritanopia (blue-blind)
#38907F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #40951b;
/* rgb */ color: rgb(64, 149, 27);
/* oklch */ color: oklch(59.4% 0.173 138.5);
Tailwind
colors: {
  custom: {
    50: '#7fb563',
    500: '#40951b',
    950: '#000000',
  },
}
SCSS
$custom: #40951b;
$custom-light: #7fb563;
$custom-dark: #000000;
JSON
{
  "hex": "#40951b",
  "rgb": {
    "r": 64,
    "g": 149,
    "b": 27
  },
  "hsl": {
    "h": 101.803,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59422,
    "c": 0.17272,
    "h": 138.5
  },
  "luminance": 0.22664
}

Semantic roles & 50–950 ramp

primary
#40951B
secondary
#9D4BC1
accent
#3CECB7
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #40951B

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

Preview Lab → · Contrast checker → · Palette generator →

#40951B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva