#25331D#25331D

#25331D is a dark, muted yellow-green. Relative luminance 0.029; OKLCH L 30.2% C 0.042 H 134.7°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#25331D
RGBrgb(37, 51, 29)
HSLhsl(98, 28%, 16%)
HSVhsv(98, 43%, 20%)
CMYKcmyk(27.5%, 0%, 43.1%, 80%)
CIE-LABlab(19.43, -10.91, 12.12)
CIE-LCHlch(19.43, 16.31, 131.99°)
OKLaboklab(30.16% -0.0298 0.0301)
OKLCHoklch(30.16% 0.042 134.7)
XYZxyz(2.1685, 2.8496, 1.5979)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25331D #2B1D33
analogous
#30331D #25331D #1D3320
triadic
#25331D #1D2533 #331D25
tetradic
#25331D #1D3033 #2B1D33 #33201D
square
#25331D #1D3033 #2B1D33 #33201D
split-complementary
#25331D #201D33 #331D30
monochromatic
#0E140B #0E140B #25331D #415A33 #5E8149

Accessibility & contrast

On white

13.38
#25331D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#25331D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25331D
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25331D#FFFFFF#000000##FFFFFF
##25331D1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301B
Deuteranopia (green-blind)
#322F1E
Tritanopia (blue-blind)
#25312D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #25331d;
/* rgb */ color: rgb(37, 51, 29);
/* oklch */ color: oklch(30.2% 0.042 134.7);
Tailwind
colors: {
  custom: {
    50: '#606a59',
    500: '#25331d',
    950: '#000000',
  },
}
SCSS
$custom: #25331d;
$custom-light: #606a59;
$custom-dark: #000000;
JSON
{
  "hex": "#25331d",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 29
  },
  "hsl": {
    "h": 98.182,
    "s": 27.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.30162,
    "c": 0.04233,
    "h": 134.7
  },
  "luminance": 0.0285
}

Semantic roles & 50–950 ramp

primary
#25331D
secondary
#5A4566
accent
#64C4A1
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#050603
muted
#797A78

Preview Lab

Preview with #25331D

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

Preview Lab → · Contrast checker → · Palette generator →

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