#278252#278252

#278252 is a mid, moderate green. Relative luminance 0.170; OKLCH L 54.1% C 0.114 H 155.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#278252
RGBrgb(39, 130, 82)
HSLhsl(148, 54%, 33%)
HSVhsv(148, 70%, 51%)
CMYKcmyk(70%, 0%, 36.9%, 49%)
CIE-LABlab(48.27, -38.31, 18.46)
CIE-LCHlch(48.27, 42.52, 154.28°)
OKLaboklab(54.08% -0.1037 0.0464)
OKLCHoklch(54.08% 0.114 155.9)
XYZxyz(10.3414, 17.0047, 10.7182)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#278252 #822757
analogous
#298227 #278252 #27827F
triadic
#278252 #522782 #825227
tetradic
#278252 #272982 #822757 #827F27
square
#278252 #272982 #822757 #827F27
split-complementary
#278252 #7F2782 #822729
monochromatic
#0B2417 #195334 #278252 #35B170 #57CD8E

Accessibility & contrast

On white

4.77
#278252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#278252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #278252
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##278252#FFFFFF#000000##FFFFFF
##2782521.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81784F
Deuteranopia (green-blind)
#766F55
Tritanopia (blue-blind)
#008176
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #278252;
/* rgb */ color: rgb(39, 130, 82);
/* oklch */ color: oklch(54.1% 0.114 155.9);
Tailwind
colors: {
  custom: {
    50: '#6da783',
    500: '#278252',
    950: '#000000',
  },
}
SCSS
$custom: #278252;
$custom-light: #6da783;
$custom-dark: #000000;
JSON
{
  "hex": "#278252",
  "rgb": {
    "r": 39,
    "g": 130,
    "b": 82
  },
  "hsl": {
    "h": 148.352,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54083,
    "c": 0.11363,
    "h": 155.9
  },
  "luminance": 0.17006
}

Semantic roles & 50–950 ramp

primary
#278252
secondary
#B15385
accent
#4B98DD
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #278252

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

Preview Lab → · Contrast checker → · Palette generator →

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