#254115#254115

#254115 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.2% C 0.077 H 135.8°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#254115
RGBrgb(37, 65, 21)
HSLhsl(98, 51%, 17%)
HSVhsv(98, 68%, 25%)
CMYKcmyk(43.1%, 0%, 67.7%, 74.5%)
CIE-LABlab(24.41, -19.97, 23.06)
CIE-LCHlch(24.41, 30.51, 130.90°)
OKLaboklab(34.16% -0.0553 0.0539)
OKLCHoklch(34.16% 0.077 135.8)
XYZxyz(2.7885, 4.2279, 1.3785)
Luminance0.0423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254115 #311541
analogous
#3B4115 #254115 #15411B
triadic
#254115 #152541 #411525
tetradic
#254115 #153B41 #311541 #411B15
square
#254115 #153B41 #311541 #411B15
split-complementary
#254115 #1B1541 #41153B
monochromatic
#0D1707 #0D1707 #254115 #3F6F24 #5A9E33

Accessibility & contrast

On white

11.38
#254115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#254115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254115
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254115#FFFFFF#000000##FFFFFF
##2541151.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B10
Deuteranopia (green-blind)
#403918
Tritanopia (blue-blind)
#243E38
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #254115;
/* rgb */ color: rgb(37, 65, 21);
/* oklch */ color: oklch(34.2% 0.077 135.8);
Tailwind
colors: {
  custom: {
    50: '#627654',
    500: '#254115',
    950: '#000000',
  },
}
SCSS
$custom: #254115;
$custom-light: #627654;
$custom-dark: #000000;
JSON
{
  "hex": "#254115",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 21
  },
  "hsl": {
    "h": 98.182,
    "s": 51.163,
    "l": 16.863
  },
  "oklch": {
    "l": 0.3416,
    "c": 0.07722,
    "h": 135.8
  },
  "luminance": 0.04228
}

Semantic roles & 50–950 ramp

primary
#254115
secondary
#623979
accent
#4DDBA7
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050803
muted
#797B78

Preview Lab

Preview with #254115

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

Preview Lab → · Contrast checker → · Palette generator →

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