#25310A#25310A

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

Color values

HEX#25310A
RGBrgb(37, 49, 10)
HSLhsl(78, 66%, 12%)
HSVhsv(78, 80%, 19%)
CMYKcmyk(24.5%, 0%, 79.6%, 80.8%)
CIE-LABlab(18.42, -12.27, 21.88)
CIE-LCHlch(18.42, 25.08, 119.28°)
OKLaboklab(29.25% -0.0353 0.0507)
OKLCHoklch(29.25% 0.062 124.8)
XYZxyz(1.9161, 2.6118, 0.6903)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25310A #160A31
analogous
#312A0A #25310A #12310A
triadic
#25310A #0A2531 #310A25
tetradic
#25310A #0A312A #160A31 #310A12
square
#25310A #0A312A #160A31 #310A12
split-complementary
#25310A #0A1231 #2A0A31
monochromatic
#131905 #131905 #25310A #4B6414 #72971F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##25310A#FFFFFF#000000##FFFFFF
##25310A1.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)
#342D05
Deuteranopia (green-blind)
#332D0D
Tritanopia (blue-blind)
#272E29
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #25310a;
/* rgb */ color: rgb(37, 49, 10);
/* oklch */ color: oklch(29.3% 0.062 124.8);
Tailwind
colors: {
  custom: {
    50: '#61694c',
    500: '#25310a',
    950: '#000000',
  },
}
SCSS
$custom: #25310a;
$custom-light: #61694c;
$custom-dark: #000000;
JSON
{
  "hex": "#25310a",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 10
  },
  "hsl": {
    "h": 78.462,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29251,
    "c": 0.06176,
    "h": 124.8
  },
  "luminance": 0.02612
}

Semantic roles & 50–950 ramp

primary
#25310A
secondary
#3E296E
accent
#3FE973
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #25310A

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

Preview Lab → · Contrast checker → · Palette generator →

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