#25331C#25331C

#25331C is a dark, muted yellow-green. Relative luminance 0.028; OKLCH L 30.1% C 0.044 H 133.9°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#25331C
RGBrgb(37, 51, 28)
HSLhsl(97, 29%, 15%)
HSVhsv(97, 45%, 20%)
CMYKcmyk(27.5%, 0%, 45.1%, 80%)
CIE-LABlab(19.41, -11.09, 12.75)
CIE-LCHlch(19.41, 16.90, 131.02°)
OKLaboklab(30.14% -0.0303 0.0315)
OKLCHoklch(30.14% 0.044 133.9)
XYZxyz(2.1563, 2.8448, 1.5339)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25331C #2A1C33
analogous
#30331C #25331C #1C331E
triadic
#25331C #1C2533 #331C25
tetradic
#25331C #1C3033 #2A1C33 #331E1C
square
#25331C #1C3033 #2A1C33 #331E1C
split-complementary
#25331C #1E1C33 #331C30
monochromatic
#0E140B #0E140B #25331C #425B32 #5E8247

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##25331C#FFFFFF#000000##FFFFFF
##25331C1.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)
#35301A
Deuteranopia (green-blind)
#332F1D
Tritanopia (blue-blind)
#25312D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #25331c;
/* rgb */ color: rgb(37, 51, 28);
/* oklch */ color: oklch(30.1% 0.044 133.9);
Tailwind
colors: {
  custom: {
    50: '#606a58',
    500: '#25331c',
    950: '#000000',
  },
}
SCSS
$custom: #25331c;
$custom-light: #606a58;
$custom-dark: #000000;
JSON
{
  "hex": "#25331c",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 28
  },
  "hsl": {
    "h": 96.522,
    "s": 29.114,
    "l": 15.49
  },
  "oklch": {
    "l": 0.30139,
    "c": 0.04374,
    "h": 133.9
  },
  "luminance": 0.02845
}

Semantic roles & 50–950 ramp

primary
#25331C
secondary
#594467
accent
#62C59F
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#050603
muted
#797A78

Preview Lab

Preview with #25331C

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

Preview Lab → · Contrast checker → · Palette generator →

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