#254111#254111

#254111 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.1% C 0.081 H 134.6°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#254111
RGBrgb(37, 65, 17)
HSLhsl(95, 59%, 16%)
HSVhsv(95, 74%, 25%)
CMYKcmyk(43.1%, 0%, 73.8%, 74.5%)
CIE-LABlab(24.37, -20.42, 25.11)
CIE-LCHlch(24.37, 32.36, 129.12°)
OKLaboklab(34.11% -0.0569 0.0577)
OKLCHoklch(34.11% 0.081 134.6)
XYZxyz(2.7544, 4.2142, 1.1985)
Luminance0.0421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254111 #2D1141
analogous
#3D4111 #254111 #114115
triadic
#254111 #112541 #411125
tetradic
#254111 #113D41 #2D1141 #411511
square
#254111 #113D41 #2D1141 #411511
split-complementary
#254111 #151141 #41113D
monochromatic
#0E1806 #0E1806 #254111 #41721E #5CA22A

Accessibility & contrast

On white

11.40
#254111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#254111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254111
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254111#FFFFFF#000000##FFFFFF
##2541111.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B0B
Deuteranopia (green-blind)
#403915
Tritanopia (blue-blind)
#253E37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #254111;
/* rgb */ color: rgb(37, 65, 17);
/* oklch */ color: oklch(34.1% 0.081 134.6);
Tailwind
colors: {
  custom: {
    50: '#627652',
    500: '#254111',
    950: '#000000',
  },
}
SCSS
$custom: #254111;
$custom-light: #627652;
$custom-dark: #000000;
JSON
{
  "hex": "#254111",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 17
  },
  "hsl": {
    "h": 95,
    "s": 58.537,
    "l": 16.078
  },
  "oklch": {
    "l": 0.3411,
    "c": 0.08102,
    "h": 134.6
  },
  "luminance": 0.04214
}

Semantic roles & 50–950 ramp

primary
#254111
secondary
#5D337B
accent
#46E2A1
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #254111

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

Preview Lab → · Contrast checker → · Palette generator →

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