#25520C#25520C

#25520C is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.2% C 0.109 H 137.2°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#25520C
RGBrgb(37, 82, 12)
HSLhsl(99, 74%, 18%)
HSVhsv(99, 85%, 32%)
CMYKcmyk(54.9%, 0%, 85.4%, 67.8%)
CIE-LABlab(30.53, -28.90, 33.47)
CIE-LCHlch(30.53, 44.22, 130.81°)
OKLaboklab(39.15% -0.0802 0.0744)
OKLCHoklch(39.15% 0.109 137.2)
XYZxyz(3.8465, 6.4542, 1.3908)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25520C #390C52
analogous
#48520C #25520C #0C5216
triadic
#25520C #0C2552 #520C25
tetradic
#25520C #0C4852 #390C52 #52160C
square
#25520C #0C4852 #390C52 #52160C
split-complementary
#25520C #160C52 #520C48
monochromatic
#0C1B04 #0D1D04 #25520C #3D8714 #55BD1C

Accessibility & contrast

On white

9.17
#25520C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#25520C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25520C
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25520C#FFFFFF#000000##FFFFFF
##25520C1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A00
Deuteranopia (green-blind)
#4F4614
Tritanopia (blue-blind)
#224F45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #25520c;
/* rgb */ color: rgb(37, 82, 12);
/* oklch */ color: oklch(39.2% 0.109 137.2);
Tailwind
colors: {
  custom: {
    50: '#658351',
    500: '#25520c',
    950: '#000000',
  },
}
SCSS
$custom: #25520c;
$custom-light: #658351;
$custom-dark: #000000;
JSON
{
  "hex": "#25520c",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 12
  },
  "hsl": {
    "h": 98.571,
    "s": 74.468,
    "l": 18.431
  },
  "oklch": {
    "l": 0.39154,
    "c": 0.10941,
    "h": 137.2
  },
  "luminance": 0.06454
}

Semantic roles & 50–950 ramp

primary
#25520C
secondary
#6B2C8D
accent
#37F1AF
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #25520C

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

Preview Lab → · Contrast checker → · Palette generator →

#25520C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva