#254E03#254E03

#254E03 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 37.9% C 0.109 H 135.4°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#254E03
RGBrgb(37, 78, 3)
HSLhsl(93, 93%, 16%)
HSVhsv(93, 96%, 31%)
CMYKcmyk(52.6%, 0%, 96.2%, 69.4%)
CIE-LABlab(29.03, -27.68, 35.33)
CIE-LCHlch(29.03, 44.88, 128.07°)
OKLaboklab(37.9% -0.0776 0.0765)
OKLCHoklch(37.9% 0.109 135.4)
XYZxyz(3.5037, 5.8484, 1.0304)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254E03 #2C034E
analogous
#4A4E03 #254E03 #034E06
triadic
#254E03 #03254E #4E0325
tetradic
#254E03 #034A4E #2C034E #4E0603
square
#254E03 #034A4E #2C034E #4E0603
split-complementary
#254E03 #06034E #4E034A
monochromatic
#0E1D01 #0E1D01 #254E03 #418905 #5DC408

Accessibility & contrast

On white

9.68
#254E03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#254E03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254E03
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254E03#FFFFFF#000000##FFFFFF
##254E031.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514600
Deuteranopia (green-blind)
#4C430D
Tritanopia (blue-blind)
#234B41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #254e03;
/* rgb */ color: rgb(37, 78, 3);
/* oklch */ color: oklch(37.9% 0.109 135.4);
Tailwind
colors: {
  custom: {
    50: '#65804d',
    500: '#254e03',
    950: '#000000',
  },
}
SCSS
$custom: #254e03;
$custom-light: #65804d;
$custom-dark: #000000;
JSON
{
  "hex": "#254e03",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 3
  },
  "hsl": {
    "h": 92.8,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.379,
    "c": 0.10897,
    "h": 135.4
  },
  "luminance": 0.05849
}

Semantic roles & 50–950 ramp

primary
#254E03
secondary
#5C1E8E
accent
#29FF9E
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A01
muted
#7A7C77

Preview Lab

Preview with #254E03

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

Preview Lab → · Contrast checker → · Palette generator →

#254E03 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva