#287230#287230

#287230 is a mid, vivid green. Relative luminance 0.127; OKLCH L 49.0% C 0.124 H 145.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#287230
RGBrgb(40, 114, 48)
HSLhsl(126, 48%, 30%)
HSVhsv(126, 65%, 45%)
CMYKcmyk(64.9%, 0%, 57.9%, 55.3%)
CIE-LABlab(42.31, -37.57, 29.60)
CIE-LCHlch(42.31, 47.83, 141.76°)
OKLaboklab(49% -0.1017 0.0706)
OKLCHoklch(49% 0.124 145.2)
XYZxyz(7.4254, 12.6984, 4.8555)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287230 #72286A
analogous
#457228 #287230 #287255
triadic
#287230 #302872 #723028
tetradic
#287230 #284572 #72286A #725528
square
#287230 #284572 #72286A #725528
split-complementary
#287230 #552872 #722845
monochromatic
#08170A #18451D #287230 #389F43 #52C25E

Accessibility & contrast

On white

5.93
#287230 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#287230 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287230
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287230#FFFFFF#000000##FFFFFF
##2872301.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74682A
Deuteranopia (green-blind)
#6B6135
Tritanopia (blue-blind)
#176F63
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #287230;
/* rgb */ color: rgb(40, 114, 48);
/* oklch */ color: oklch(49.0% 0.124 145.2);
Tailwind
colors: {
  custom: {
    50: '#6b9b6a',
    500: '#287230',
    950: '#000000',
  },
}
SCSS
$custom: #287230;
$custom-light: #6b9b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#287230",
  "rgb": {
    "r": 40,
    "g": 114,
    "b": 48
  },
  "hsl": {
    "h": 126.486,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49003,
    "c": 0.12379,
    "h": 145.2
  },
  "luminance": 0.12699
}

Semantic roles & 50–950 ramp

primary
#287230
secondary
#A4529B
accent
#50C9D8
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #287230

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

Preview Lab → · Contrast checker → · Palette generator →

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