#254B13#254B13

#254B13 is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.1% C 0.095 H 137.3°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#254B13
RGBrgb(37, 75, 19)
HSLhsl(101, 60%, 18%)
HSVhsv(101, 75%, 29%)
CMYKcmyk(50.7%, 0%, 74.7%, 70.6%)
CIE-LABlab(28.04, -25.14, 28.06)
CIE-LCHlch(28.04, 37.67, 131.86°)
OKLaboklab(37.12% -0.0695 0.0642)
OKLCHoklch(37.12% 0.095 137.3)
XYZxyz(3.3965, 5.4723, 1.4933)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254B13 #39134B
analogous
#414B13 #254B13 #134B1D
triadic
#254B13 #13254B #4B1325
tetradic
#254B13 #13414B #39134B #4B1D13
square
#254B13 #13414B #39134B #4B1D13
split-complementary
#254B13 #1D134B #4B1341
monochromatic
#0C1806 #0D1A07 #254B13 #3D7C1F #55AD2C

Accessibility & contrast

On white

10.03
#254B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#254B13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254B13
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254B13#FFFFFF#000000##FFFFFF
##254B131.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E440B
Deuteranopia (green-blind)
#494118
Tritanopia (blue-blind)
#234840
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #254b13;
/* rgb */ color: rgb(37, 75, 19);
/* oklch */ color: oklch(37.1% 0.095 137.3);
Tailwind
colors: {
  custom: {
    50: '#647d54',
    500: '#254b13',
    950: '#000000',
  },
}
SCSS
$custom: #254b13;
$custom-light: #647d54;
$custom-dark: #000000;
JSON
{
  "hex": "#254b13",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 19
  },
  "hsl": {
    "h": 100.714,
    "s": 59.574,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37123,
    "c": 0.09464,
    "h": 137.3
  },
  "luminance": 0.05472
}

Semantic roles & 50–950 ramp

primary
#254B13
secondary
#6B3684
accent
#45E3B0
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #254B13

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

Preview Lab → · Contrast checker → · Palette generator →

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