#25540D#25540D

#25540D is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 39.8% C 0.112 H 137.6°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#25540D
RGBrgb(37, 84, 13)
HSLhsl(100, 73%, 19%)
HSVhsv(100, 85%, 33%)
CMYKcmyk(56%, 0%, 84.5%, 67.1%)
CIE-LABlab(31.26, -29.71, 33.81)
CIE-LCHlch(31.26, 45.01, 131.31°)
OKLaboklab(39.76% -0.0823 0.0753)
OKLCHoklch(39.76% 0.112 137.6)
XYZxyz(4.0058, 6.7627, 1.4749)
Luminance0.0676 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25540D #3C0D54
analogous
#49540D #25540D #0D5419
triadic
#25540D #0D2554 #540D25
tetradic
#25540D #0D4954 #3C0D54 #54190D
square
#25540D #0D4954 #3C0D54 #54190D
split-complementary
#25540D #190D54 #540D49
monochromatic
#0C1A04 #0E1F05 #25540D #3C8915 #54BE1D

Accessibility & contrast

On white

8.93
#25540D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#25540D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25540D
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25540D#FFFFFF#000000##FFFFFF
##25540D1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C00
Deuteranopia (green-blind)
#514815
Tritanopia (blue-blind)
#225147
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #25540d;
/* rgb */ color: rgb(37, 84, 13);
/* oklch */ color: oklch(39.8% 0.112 137.6);
Tailwind
colors: {
  custom: {
    50: '#658452',
    500: '#25540d',
    950: '#000000',
  },
}
SCSS
$custom: #25540d;
$custom-light: #658452;
$custom-dark: #000000;
JSON
{
  "hex": "#25540d",
  "rgb": {
    "r": 37,
    "g": 84,
    "b": 13
  },
  "hsl": {
    "h": 99.718,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39757,
    "c": 0.11155,
    "h": 137.6
  },
  "luminance": 0.06763
}

Semantic roles & 50–950 ramp

primary
#25540D
secondary
#6E2E8F
accent
#38F0B2
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B02
muted
#7A7C78

Preview Lab

Preview with #25540D

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

Preview Lab → · Contrast checker → · Palette generator →

#25540D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva