#287129#287129

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

Color values

HEX#287129
RGBrgb(40, 113, 41)
HSLhsl(121, 48%, 30%)
HSVhsv(121, 65%, 44%)
CMYKcmyk(64.6%, 0%, 63.7%, 55.7%)
CIE-LABlab(41.88, -38.11, 32.66)
CIE-LCHlch(41.88, 50.19, 139.40°)
OKLaboklab(48.62% -0.1035 0.0766)
OKLCHoklch(48.62% 0.129 143.5)
XYZxyz(7.1800, 12.4208, 4.1165)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287129 #712870
analogous
#4B7128 #287129 #28714E
triadic
#287129 #292871 #712928
tetradic
#287129 #284B71 #712870 #714E28
square
#287129 #284B71 #712870 #714E28
split-complementary
#287129 #4E2871 #71284B
monochromatic
#081708 #184419 #287129 #389E39 #52C253

Accessibility & contrast

On white

6.03
#287129 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #287129
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287129#FFFFFF#000000##FFFFFF
##2871291.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736721
Deuteranopia (green-blind)
#6A602F
Tritanopia (blue-blind)
#196E62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #287129;
/* rgb */ color: rgb(40, 113, 41);
/* oklch */ color: oklch(48.6% 0.129 143.5);
Tailwind
colors: {
  custom: {
    50: '#6b9a66',
    500: '#287129',
    950: '#000000',
  },
}
SCSS
$custom: #287129;
$custom-light: #6b9a66;
$custom-dark: #000000;
JSON
{
  "hex": "#287129",
  "rgb": {
    "r": 40,
    "g": 113,
    "b": 41
  },
  "hsl": {
    "h": 120.822,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.48623,
    "c": 0.12873,
    "h": 143.5
  },
  "luminance": 0.12421
}

Semantic roles & 50–950 ramp

primary
#287129
secondary
#A352A2
accent
#50D5D7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #287129

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

Preview Lab → · Contrast checker → · Palette generator →

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