#254E07#254E07

#254E07 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 37.9% C 0.107 H 135.9°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#254E07
RGBrgb(37, 78, 7)
HSLhsl(95, 84%, 17%)
HSVhsv(95, 91%, 31%)
CMYKcmyk(52.6%, 0%, 91%, 69.4%)
CIE-LABlab(29.05, -27.43, 33.84)
CIE-LCHlch(29.05, 43.56, 129.02°)
OKLaboklab(37.93% -0.0766 0.0743)
OKLCHoklch(37.93% 0.107 135.9)
XYZxyz(3.5256, 5.8572, 1.1457)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254E07 #30074E
analogous
#494E07 #254E07 #074E0D
triadic
#254E07 #07254E #4E0725
tetradic
#254E07 #07494E #30074E #4E0D07
square
#254E07 #07494E #30074E #4E0D07
split-complementary
#254E07 #0D074E #4E0749
monochromatic
#0D1C03 #0D1C03 #254E07 #40860C #5ABE11

Accessibility & contrast

On white

9.67
#254E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254E07
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254E07#FFFFFF#000000##FFFFFF
##254E071.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #254e07;
/* rgb */ color: rgb(37, 78, 7);
/* oklch */ color: oklch(37.9% 0.107 135.9);
Tailwind
colors: {
  custom: {
    50: '#65804e',
    500: '#254e07',
    950: '#000000',
  },
}
SCSS
$custom: #254e07;
$custom-light: #65804e;
$custom-dark: #000000;
JSON
{
  "hex": "#254e07",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 7
  },
  "hsl": {
    "h": 94.648,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.37926,
    "c": 0.10672,
    "h": 135.9
  },
  "luminance": 0.05857
}

Semantic roles & 50–950 ramp

primary
#254E07
secondary
#60258C
accent
#2EFAA4
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #254E07

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

Preview Lab → · Contrast checker → · Palette generator →

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