#42931B#42931B

#42931B is a mid, vivid green. Relative luminance 0.221; OKLCH L 59.0% C 0.169 H 138.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#42931B
RGBrgb(66, 147, 27)
HSLhsl(101, 69%, 34%)
HSVhsv(101, 82%, 58%)
CMYKcmyk(55.1%, 0%, 81.6%, 42.4%)
CIE-LABlab(54.14, -45.51, 51.15)
CIE-LCHlch(54.14, 68.46, 131.66°)
OKLaboklab(58.96% -0.126 0.1133)
OKLCHoklch(58.96% 0.169 138)
XYZxyz(12.8779, 22.1038, 4.6245)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42931B #6C1B93
analogous
#7E931B #42931B #1B9330
triadic
#42931B #1B4293 #931B42
tetradic
#42931B #1B7E93 #6C1B93 #93301B
square
#42931B #1B7E93 #6C1B93 #93301B
split-complementary
#42931B #301B93 #931B7E
monochromatic
#142C08 #2B5F12 #42931B #59C724 #7ADE4B

Accessibility & contrast

On white

3.87
#42931B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#42931B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42931B
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42931B#FFFFFF#000000##000000
##42931B1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#8E7F29
Tritanopia (blue-blind)
#3B8E7D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #42931b;
/* rgb */ color: rgb(66, 147, 27);
/* oklch */ color: oklch(59.0% 0.169 138.0);
Tailwind
colors: {
  custom: {
    50: '#80b363',
    500: '#42931b',
    950: '#000000',
  },
}
SCSS
$custom: #42931b;
$custom-light: #80b363;
$custom-dark: #000000;
JSON
{
  "hex": "#42931b",
  "rgb": {
    "r": 66,
    "g": 147,
    "b": 27
  },
  "hsl": {
    "h": 100.5,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58958,
    "c": 0.16941,
    "h": 138
  },
  "luminance": 0.22105
}

Semantic roles & 50–950 ramp

primary
#42931B
secondary
#9A4AC0
accent
#3CECB3
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #42931B

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

Preview Lab → · Contrast checker → · Palette generator →

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