#287124#287124

#287124 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.133 H 142.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#287124
RGBrgb(40, 113, 36)
HSLhsl(117, 52%, 29%)
HSVhsv(117, 68%, 44%)
CMYKcmyk(64.6%, 0%, 68.1%, 55.7%)
CIE-LABlab(41.83, -38.69, 35.00)
CIE-LCHlch(41.83, 52.18, 137.87°)
OKLaboklab(48.56% -0.1053 0.081)
OKLCHoklch(48.56% 0.133 142.4)
XYZxyz(7.0983, 12.3881, 3.6858)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287124 #6D2471
analogous
#4F7124 #287124 #247147
triadic
#287124 #242871 #712428
tetradic
#287124 #244F71 #6D2471 #714724
square
#287124 #244F71 #6D2471 #714724
split-complementary
#287124 #472471 #71244F
monochromatic
#081707 #184315 #287124 #389F33 #50C54A

Accessibility & contrast

On white

6.04
#287124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#287124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287124
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287124#FFFFFF#000000##FFFFFF
##2871241.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74661A
Deuteranopia (green-blind)
#6B602B
Tritanopia (blue-blind)
#1B6E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #287124;
/* rgb */ color: rgb(40, 113, 36);
/* oklch */ color: oklch(48.6% 0.133 142.4);
Tailwind
colors: {
  custom: {
    50: '#6c9b62',
    500: '#287124',
    950: '#000000',
  },
}
SCSS
$custom: #287124;
$custom-light: #6c9b62;
$custom-dark: #000000;
JSON
{
  "hex": "#287124",
  "rgb": {
    "r": 40,
    "g": 113,
    "b": 36
  },
  "hsl": {
    "h": 116.883,
    "s": 51.678,
    "l": 29.216
  },
  "oklch": {
    "l": 0.48564,
    "c": 0.13288,
    "h": 142.4
  },
  "luminance": 0.12389
}

Semantic roles & 50–950 ramp

primary
#287124
secondary
#9F4DA4
accent
#4DDBD4
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E05
muted
#7A7E7A

Preview Lab

Preview with #287124

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

Preview Lab → · Contrast checker → · Palette generator →

#287124 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva