#254F11#254F11

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

Color values

HEX#254F11
RGBrgb(37, 79, 17)
HSLhsl(101, 65%, 19%)
HSVhsv(101, 78%, 31%)
CMYKcmyk(53.2%, 0%, 78.5%, 69%)
CIE-LABlab(29.48, -27.18, 30.46)
CIE-LCHlch(29.48, 40.82, 131.74°)
OKLaboklab(38.3% -0.0752 0.0689)
OKLCHoklch(38.3% 0.102 137.5)
XYZxyz(3.6600, 6.0255, 1.5004)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254F11 #3B114F
analogous
#444F11 #254F11 #114F1C
triadic
#254F11 #11254F #4F1125
tetradic
#254F11 #11444F #3B114F #4F1C11
square
#254F11 #11444F #3B114F #4F1C11
split-complementary
#254F11 #1C114F #4F1144
monochromatic
#0C1905 #0D1D06 #254F11 #3D811C #54B427

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##254F11#FFFFFF#000000##FFFFFF
##254F111.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)
#524807
Deuteranopia (green-blind)
#4C4417
Tritanopia (blue-blind)
#224C43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #254f11;
/* rgb */ color: rgb(37, 79, 17);
/* oklch */ color: oklch(38.3% 0.102 137.5);
Tailwind
colors: {
  custom: {
    50: '#648153',
    500: '#254f11',
    950: '#000000',
  },
}
SCSS
$custom: #254f11;
$custom-light: #648153;
$custom-dark: #000000;
JSON
{
  "hex": "#254f11",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 17
  },
  "hsl": {
    "h": 100.645,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38298,
    "c": 0.10202,
    "h": 137.5
  },
  "luminance": 0.06026
}

Semantic roles & 50–950 ramp

primary
#254F11
secondary
#6D3388
accent
#40E8B2
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #254F11

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

Preview Lab → · Contrast checker → · Palette generator →

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