#42951C#42951C

#42951C is a mid, vivid green. Relative luminance 0.227; OKLCH L 59.5% C 0.171 H 138.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#42951C
RGBrgb(66, 149, 28)
HSLhsl(101, 68%, 35%)
HSVhsv(101, 81%, 58%)
CMYKcmyk(55.7%, 0%, 81.2%, 41.6%)
CIE-LABlab(54.80, -46.22, 51.46)
CIE-LCHlch(54.80, 69.17, 131.93°)
OKLaboklab(59.51% -0.1278 0.1141)
OKLCHoklch(59.51% 0.171 138.2)
XYZxyz(13.2033, 22.7359, 4.7911)
Luminance0.2274 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42951C #6F1C95
analogous
#7F951C #42951C #1C9532
triadic
#42951C #1C4295 #951C42
tetradic
#42951C #1C7F95 #6F1C95 #95321C
square
#42951C #1C7F95 #6F1C95 #95321C
split-complementary
#42951C #321C95 #951C7F
monochromatic
#142E09 #2B6112 #42951C #59C926 #7BDE4E

Accessibility & contrast

On white

3.79
#42951C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#42951C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42951C
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42951C#FFFFFF#000000##000000
##42951C1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#8F812A
Tritanopia (blue-blind)
#3B907F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #42951c;
/* rgb */ color: rgb(66, 149, 28);
/* oklch */ color: oklch(59.5% 0.171 138.2);
Tailwind
colors: {
  custom: {
    50: '#80b563',
    500: '#42951c',
    950: '#000000',
  },
}
SCSS
$custom: #42951c;
$custom-light: #80b563;
$custom-dark: #000000;
JSON
{
  "hex": "#42951c",
  "rgb": {
    "r": 66,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 101.157,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59506,
    "c": 0.17132,
    "h": 138.2
  },
  "luminance": 0.22737
}

Semantic roles & 50–950 ramp

primary
#42951C
secondary
#9C4DC0
accent
#3DEBB4
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #42951C

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

Preview Lab → · Contrast checker → · Palette generator →

#42951C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva