#42891F#42891F

#42891F is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.3% C 0.155 H 137.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#42891F
RGBrgb(66, 137, 31)
HSLhsl(100, 63%, 33%)
HSVhsv(100, 77%, 54%)
CMYKcmyk(51.8%, 0%, 77.4%, 46.3%)
CIE-LABlab(50.86, -41.32, 46.70)
CIE-LCHlch(50.86, 62.36, 131.50°)
OKLaboklab(56.27% -0.1145 0.1046)
OKLCHoklch(56.27% 0.155 137.6)
XYZxyz(11.4394, 19.1477, 4.3891)
Luminance0.1915 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42891F #661F89
analogous
#77891F #42891F #1F8931
triadic
#42891F #1F4289 #891F42
tetradic
#42891F #1F7789 #661F89 #89311F
square
#42891F #1F7789 #661F89 #89311F
split-complementary
#42891F #311F89 #891F77
monochromatic
#122508 #2A5714 #42891F #5ABB2A #7AD64C

Accessibility & contrast

On white

4.35
#42891F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#42891F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42891F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42891F#FFFFFF#000000##000000
##42891F1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D07
Deuteranopia (green-blind)
#84772A
Tritanopia (blue-blind)
#3D8475
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #42891f;
/* rgb */ color: rgb(66, 137, 31);
/* oklch */ color: oklch(56.3% 0.155 137.6);
Tailwind
colors: {
  custom: {
    50: '#7eac63',
    500: '#42891f',
    950: '#000000',
  },
}
SCSS
$custom: #42891f;
$custom-light: #7eac63;
$custom-dark: #000000;
JSON
{
  "hex": "#42891f",
  "rgb": {
    "r": 66,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 100.189,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56265,
    "c": 0.15506,
    "h": 137.6
  },
  "luminance": 0.19149
}

Semantic roles & 50–950 ramp

primary
#42891F
secondary
#954BB9
accent
#42E6B0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #42891F

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

Preview Lab → · Contrast checker → · Palette generator →

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