#287229#287229

#287229 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.130 H 143.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#287229
RGBrgb(40, 114, 41)
HSLhsl(121, 48%, 30%)
HSVhsv(121, 65%, 45%)
CMYKcmyk(64.9%, 0%, 64%, 55.3%)
CIE-LABlab(42.22, -38.50, 33.06)
CIE-LCHlch(42.22, 50.75, 139.35°)
OKLaboklab(48.91% -0.1045 0.0774)
OKLCHoklch(48.91% 0.13 143.5)
XYZxyz(7.2922, 12.6451, 4.1539)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287229 #722871
analogous
#4C7228 #287229 #28724E
triadic
#287229 #292872 #722928
tetradic
#287229 #284C72 #722871 #724E28
square
#287229 #284C72 #722871 #724E28
split-complementary
#287229 #4E2872 #72284C
monochromatic
#081708 #184519 #287229 #389F39 #52C254

Accessibility & contrast

On white

5.95
#287229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#287229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287229
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287229#FFFFFF#000000##FFFFFF
##2872291.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746721
Deuteranopia (green-blind)
#6B612F
Tritanopia (blue-blind)
#196F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #287229;
/* rgb */ color: rgb(40, 114, 41);
/* oklch */ color: oklch(48.9% 0.130 143.5);
Tailwind
colors: {
  custom: {
    50: '#6c9b66',
    500: '#287229',
    950: '#000000',
  },
}
SCSS
$custom: #287229;
$custom-light: #6c9b66;
$custom-dark: #000000;
JSON
{
  "hex": "#287229",
  "rgb": {
    "r": 40,
    "g": 114,
    "b": 41
  },
  "hsl": {
    "h": 120.811,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.48909,
    "c": 0.1301,
    "h": 143.5
  },
  "luminance": 0.12646
}

Semantic roles & 50–950 ramp

primary
#287229
secondary
#A452A3
accent
#50D6D8
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #287229

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

Preview Lab → · Contrast checker → · Palette generator →

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