#279231#279231

#279231 is a mid, vivid green. Relative luminance 0.212; OKLCH L 58.0% C 0.165 H 144.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#279231
RGBrgb(39, 146, 49)
HSLhsl(126, 58%, 36%)
HSVhsv(126, 73%, 57%)
CMYKcmyk(73.3%, 0%, 66.4%, 42.7%)
CIE-LABlab(53.18, -49.68, 41.58)
CIE-LCHlch(53.18, 64.78, 140.07°)
OKLaboklab(57.99% -0.1344 0.0964)
OKLCHoklch(57.99% 0.165 144.3)
XYZxyz(11.6692, 21.2096, 6.3840)
Luminance0.2121 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#279231 #922788
analogous
#539227 #279231 #279267
triadic
#279231 #312792 #923127
tetradic
#279231 #275392 #922788 #926727
square
#279231 #275392 #922788 #926727
split-complementary
#279231 #672792 #922753
monochromatic
#0D3111 #1A6221 #279231 #34C241 #5FD46A

Accessibility & contrast

On white

4.01
#279231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#279231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #279231
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##279231#FFFFFF#000000##000000
##2792311.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958425
Deuteranopia (green-blind)
#887C3A
Tritanopia (blue-blind)
#008E7E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #279231;
/* rgb */ color: rgb(39, 146, 49);
/* oklch */ color: oklch(58.0% 0.165 144.3);
Tailwind
colors: {
  custom: {
    50: '#72b36d',
    500: '#279231',
    950: '#000000',
  },
}
SCSS
$custom: #279231;
$custom-light: #72b36d;
$custom-dark: #000000;
JSON
{
  "hex": "#279231",
  "rgb": {
    "r": 39,
    "g": 146,
    "b": 49
  },
  "hsl": {
    "h": 125.607,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57994,
    "c": 0.1654,
    "h": 144.3
  },
  "luminance": 0.21211
}

Semantic roles & 50–950 ramp

primary
#279231
secondary
#BA5BB1
accent
#47D3E1
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #279231

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

Preview Lab → · Contrast checker → · Palette generator →

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