#254E2D#254E2D

#254E2D is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.4% C 0.072 H 148.5°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#254E2D
RGBrgb(37, 78, 45)
HSLhsl(132, 36%, 23%)
HSVhsv(132, 53%, 31%)
CMYKcmyk(52.6%, 0%, 42.3%, 69.4%)
CIE-LABlab(29.49, -22.74, 15.22)
CIE-LCHlch(29.49, 27.36, 146.20°)
OKLaboklab(38.43% -0.0618 0.0379)
OKLCHoklch(38.43% 0.072 148.5)
XYZxyz(3.9608, 6.0313, 3.4376)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254E2D #4E2546
analogous
#324E25 #254E2D #254E41
triadic
#254E2D #2D254E #4E2D25
tetradic
#254E2D #25324E #4E2546 #4E4125
square
#254E2D #25324E #4E2546 #4E4125
split-complementary
#254E2D #41254E #4E2532
monochromatic
#0A150C #112415 #254E2D #397845 #4CA15D

Accessibility & contrast

On white

9.52
#254E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#254E2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254E2D
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254E2D#FFFFFF#000000##FFFFFF
##254E2D1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482B
Deuteranopia (green-blind)
#49442F
Tritanopia (blue-blind)
#1E4D46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #254e2d;
/* rgb */ color: rgb(37, 78, 45);
/* oklch */ color: oklch(38.4% 0.072 148.5);
Tailwind
colors: {
  custom: {
    50: '#638066',
    500: '#254e2d',
    950: '#000000',
  },
}
SCSS
$custom: #254e2d;
$custom-light: #638066;
$custom-dark: #000000;
JSON
{
  "hex": "#254e2d",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 45
  },
  "hsl": {
    "h": 131.707,
    "s": 35.652,
    "l": 22.549
  },
  "oklch": {
    "l": 0.38431,
    "c": 0.07245,
    "h": 148.5
  },
  "luminance": 0.06032
}

Semantic roles & 50–950 ramp

primary
#254E2D
secondary
#814E77
accent
#5CB6CC
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#050A06
muted
#7A7C7A

Preview Lab

Preview with #254E2D

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

Preview Lab → · Contrast checker → · Palette generator →

#254E2D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva