#254711#254711

#254711 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 35.9% C 0.090 H 136.1°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#254711
RGBrgb(37, 71, 17)
HSLhsl(98, 61%, 17%)
HSVhsv(98, 76%, 28%)
CMYKcmyk(47.9%, 0%, 76.1%, 72.2%)
CIE-LABlab(26.56, -23.42, 27.45)
CIE-LCHlch(26.56, 36.08, 130.47°)
OKLaboklab(35.91% -0.065 0.0626)
OKLCHoklch(35.91% 0.09 136.1)
XYZxyz(3.1173, 4.9401, 1.3195)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254711 #331147
analogous
#404711 #254711 #114718
triadic
#254711 #112547 #471125
tetradic
#254711 #114047 #331147 #471811
square
#254711 #114047 #331147 #471811
split-complementary
#254711 #181147 #471140
monochromatic
#0D1906 #0D1906 #254711 #3F781D #58AA29

Accessibility & contrast

On white

10.56
#254711 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#254711 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254711
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254711#FFFFFF#000000##FFFFFF
##2547111.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4109
Deuteranopia (green-blind)
#453E16
Tritanopia (blue-blind)
#24443C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #254711;
/* rgb */ color: rgb(37, 71, 17);
/* oklch */ color: oklch(35.9% 0.090 136.1);
Tailwind
colors: {
  custom: {
    50: '#637a52',
    500: '#254711',
    950: '#000000',
  },
}
SCSS
$custom: #254711;
$custom-light: #637a52;
$custom-dark: #000000;
JSON
{
  "hex": "#254711",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 17
  },
  "hsl": {
    "h": 97.778,
    "s": 61.364,
    "l": 17.255
  },
  "oklch": {
    "l": 0.35907,
    "c": 0.09028,
    "h": 136.1
  },
  "luminance": 0.0494
}

Semantic roles & 50–950 ramp

primary
#254711
secondary
#643381
accent
#43E4A9
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050902
muted
#7A7B78

Preview Lab

Preview with #254711

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

Preview Lab → · Contrast checker → · Palette generator →

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