#254703#254703

#254703 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 35.8% C 0.100 H 133.8°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#254703
RGBrgb(37, 71, 3)
HSLhsl(90, 92%, 15%)
HSVhsv(90, 96%, 28%)
CMYKcmyk(47.9%, 0%, 95.8%, 72.2%)
CIE-LABlab(26.47, -24.46, 33.14)
CIE-LCHlch(26.47, 41.19, 126.43°)
OKLaboklab(35.8% -0.069 0.0719)
OKLCHoklch(35.8% 0.1 133.8)
XYZxyz(3.0326, 4.9062, 0.8733)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254703 #250347
analogous
#474703 #254703 #034703
triadic
#254703 #032547 #470325
tetradic
#254703 #034747 #250347 #470303
square
#254703 #034747 #250347 #470303
split-complementary
#254703 #030347 #470347
monochromatic
#0F1D01 #0F1D01 #254703 #448205 #62BC08

Accessibility & contrast

On white

10.60
#254703 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#254703 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254703
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254703#FFFFFF#000000##FFFFFF
##2547031.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#463E0B
Tritanopia (blue-blind)
#25443B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #254703;
/* rgb */ color: rgb(37, 71, 3);
/* oklch */ color: oklch(35.8% 0.100 133.8);
Tailwind
colors: {
  custom: {
    50: '#647a4b',
    500: '#254703',
    950: '#000000',
  },
}
SCSS
$custom: #254703;
$custom-light: #647a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#254703",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 3
  },
  "hsl": {
    "h": 90,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.35796,
    "c": 0.09967,
    "h": 133.8
  },
  "luminance": 0.04906
}

Semantic roles & 50–950 ramp

primary
#254703
secondary
#531E88
accent
#29FF94
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #254703

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

Preview Lab → · Contrast checker → · Palette generator →

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