#254313#254313

#254313 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 34.7% C 0.082 H 135.7°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#254313
RGBrgb(37, 67, 19)
HSLhsl(98, 56%, 17%)
HSVhsv(98, 72%, 26%)
CMYKcmyk(44.8%, 0%, 71.6%, 73.7%)
CIE-LABlab(25.12, -21.23, 24.91)
CIE-LCHlch(25.12, 32.73, 130.44°)
OKLaboklab(34.73% -0.0589 0.0576)
OKLCHoklch(34.73% 0.082 135.7)
XYZxyz(2.8876, 4.4545, 1.3236)
Luminance0.0445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254313 #311343
analogous
#3D4313 #254313 #134319
triadic
#254313 #132543 #431325
tetradic
#254313 #133D43 #311343 #431913
square
#254313 #133D43 #311343 #431913
split-complementary
#254313 #191343 #43133D
monochromatic
#0D1807 #0D1807 #254313 #3F7321 #5AA22E

Accessibility & contrast

On white

11.11
#254313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#254313 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254313
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254313#FFFFFF#000000##FFFFFF
##2543131.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D0D
Deuteranopia (green-blind)
#413B17
Tritanopia (blue-blind)
#244039
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #254313;
/* rgb */ color: rgb(37, 67, 19);
/* oklch */ color: oklch(34.7% 0.082 135.7);
Tailwind
colors: {
  custom: {
    50: '#627753',
    500: '#254313',
    950: '#000000',
  },
}
SCSS
$custom: #254313;
$custom-light: #627753;
$custom-dark: #000000;
JSON
{
  "hex": "#254313",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 19
  },
  "hsl": {
    "h": 97.5,
    "s": 55.814,
    "l": 16.863
  },
  "oklch": {
    "l": 0.34732,
    "c": 0.08236,
    "h": 135.7
  },
  "luminance": 0.04455
}

Semantic roles & 50–950 ramp

primary
#254313
secondary
#62367C
accent
#49DFA7
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #254313

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

Preview Lab → · Contrast checker → · Palette generator →

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