#25310C#25310C

#25310C is a dark, muted yellow-green. Relative luminance 0.026; OKLCH L 29.3% C 0.060 H 125.2°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#25310C
RGBrgb(37, 49, 12)
HSLhsl(79, 61%, 12%)
HSVhsv(79, 76%, 19%)
CMYKcmyk(24.5%, 0%, 75.5%, 80.8%)
CIE-LABlab(18.44, -12.09, 21.04)
CIE-LCHlch(18.44, 24.27, 119.87°)
OKLaboklab(29.27% -0.0345 0.0489)
OKLCHoklch(29.27% 0.06 125.2)
XYZxyz(1.9276, 2.6165, 0.7512)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25310C #180C31
analogous
#312B0C #25310C #13310C
triadic
#25310C #0C2531 #310C25
tetradic
#25310C #0C312B #180C31 #310C13
square
#25310C #0C312B #180C31 #310C13
split-complementary
#25310C #0C1331 #2B0C31
monochromatic
#131906 #131906 #25310C #4A6218 #6F9324

Accessibility & contrast

On white

13.79
#25310C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#25310C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25310C
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25310C#FFFFFF#000000##FFFFFF
##25310C1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D08
Deuteranopia (green-blind)
#322D0F
Tritanopia (blue-blind)
#272E29
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #25310c;
/* rgb */ color: rgb(37, 49, 12);
/* oklch */ color: oklch(29.3% 0.060 125.2);
Tailwind
colors: {
  custom: {
    50: '#61694d',
    500: '#25310c',
    950: '#000000',
  },
}
SCSS
$custom: #25310c;
$custom-light: #61694d;
$custom-dark: #000000;
JSON
{
  "hex": "#25310c",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 12
  },
  "hsl": {
    "h": 79.459,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.29274,
    "c": 0.05984,
    "h": 125.2
  },
  "luminance": 0.02616
}

Semantic roles & 50–950 ramp

primary
#25310C
secondary
#412C6D
accent
#44E478
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #25310C

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

Preview Lab → · Contrast checker → · Palette generator →

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