#254010#254010

#254010 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.8% C 0.080 H 134.1°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#254010
RGBrgb(37, 64, 16)
HSLhsl(94, 60%, 16%)
HSVhsv(94, 75%, 25%)
CMYKcmyk(42.2%, 0%, 75%, 74.9%)
CIE-LABlab(23.99, -20.01, 25.21)
CIE-LCHlch(23.99, 32.18, 128.44°)
OKLaboklab(33.8% -0.0559 0.0577)
OKLCHoklch(33.8% 0.08 134.1)
XYZxyz(2.6898, 4.0974, 1.1393)
Luminance0.0410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254010 #2B1040
analogous
#3D4010 #254010 #104013
triadic
#254010 #102540 #401025
tetradic
#254010 #103D40 #2B1040 #401310
square
#254010 #103D40 #2B1040 #401310
split-complementary
#254010 #131040 #40103D
monochromatic
#0E1806 #0E1806 #254010 #41711C #5EA228

Accessibility & contrast

On white

11.54
#254010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#254010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254010
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254010#FFFFFF#000000##FFFFFF
##2540101.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A0A
Deuteranopia (green-blind)
#3F3814
Tritanopia (blue-blind)
#253D36
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #254010;
/* rgb */ color: rgb(37, 64, 16);
/* oklch */ color: oklch(33.8% 0.080 134.1);
Tailwind
colors: {
  custom: {
    50: '#627551',
    500: '#254010',
    950: '#000000',
  },
}
SCSS
$custom: #254010;
$custom-light: #627551;
$custom-dark: #000000;
JSON
{
  "hex": "#254010",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 16
  },
  "hsl": {
    "h": 93.75,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.338,
    "c": 0.08034,
    "h": 134.1
  },
  "luminance": 0.04098
}

Semantic roles & 50–950 ramp

primary
#254010
secondary
#5A327A
accent
#45E39E
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #254010

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

Preview Lab → · Contrast checker → · Palette generator →

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