#254105#254105

#254105 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.0% C 0.090 H 132.3°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#254105
RGBrgb(37, 65, 5)
HSLhsl(88, 86%, 14%)
HSVhsv(88, 92%, 25%)
CMYKcmyk(43.1%, 0%, 92.3%, 74.5%)
CIE-LABlab(24.27, -21.39, 30.26)
CIE-LCHlch(24.27, 37.06, 125.26°)
OKLaboklab(34% -0.0606 0.0665)
OKLCHoklch(34% 0.09 132.3)
XYZxyz(2.6806, 4.1847, 0.8100)
Luminance0.0418 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254105 #210541
analogous
#413F05 #254105 #074105
triadic
#254105 #052541 #410525
tetradic
#254105 #05413F #210541 #410507
square
#254105 #05413F #210541 #410507
split-complementary
#254105 #050741 #3F0541
monochromatic
#101C02 #101C02 #254105 #457A09 #66B30E

Accessibility & contrast

On white

11.43
#254105 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254105
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254105#FFFFFF#000000##FFFFFF
##2541051.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#40390C
Tritanopia (blue-blind)
#253E36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #254105;
/* rgb */ color: rgb(37, 65, 5);
/* oklch */ color: oklch(34.0% 0.090 132.3);
Tailwind
colors: {
  custom: {
    50: '#63764b',
    500: '#254105',
    950: '#000000',
  },
}
SCSS
$custom: #254105;
$custom-light: #63764b;
$custom-dark: #000000;
JSON
{
  "hex": "#254105",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 5
  },
  "hsl": {
    "h": 88,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.34003,
    "c": 0.09001,
    "h": 132.3
  },
  "luminance": 0.04185
}

Semantic roles & 50–950 ramp

primary
#254105
secondary
#4E2081
accent
#2CFC8D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050801
muted
#7A7B77

Preview Lab

Preview with #254105

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

Preview Lab → · Contrast checker → · Palette generator →

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