#25310E#25310E

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

Color values

HEX#25310E
RGBrgb(37, 49, 14)
HSLhsl(81, 56%, 12%)
HSVhsv(81, 71%, 19%)
CMYKcmyk(24.5%, 0%, 71.4%, 80.8%)
CIE-LABlab(18.46, -11.88, 20.11)
CIE-LCHlch(18.46, 23.36, 120.57°)
OKLaboklab(29.3% -0.0337 0.0469)
OKLCHoklch(29.3% 0.058 125.7)
XYZxyz(1.9405, 2.6216, 0.8192)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25310E #1A0E31
analogous
#312C0E #25310E #14310E
triadic
#25310E #0E2531 #310E25
tetradic
#25310E #0E312C #1A0E31 #310E14
square
#25310E #0E312C #1A0E31 #310E14
split-complementary
#25310E #0E1431 #2C0E31
monochromatic
#121807 #121807 #25310E #49611C #6D9029

Accessibility & contrast

On white

13.78
#25310E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25310E
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25310E#FFFFFF#000000##FFFFFF
##25310E1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25310e;
/* rgb */ color: rgb(37, 49, 14);
/* oklch */ color: oklch(29.3% 0.058 125.7);
Tailwind
colors: {
  custom: {
    50: '#61694e',
    500: '#25310e',
    950: '#000000',
  },
}
SCSS
$custom: #25310e;
$custom-light: #61694e;
$custom-dark: #000000;
JSON
{
  "hex": "#25310e",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 14
  },
  "hsl": {
    "h": 80.571,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.29299,
    "c": 0.05776,
    "h": 125.7
  },
  "luminance": 0.02622
}

Semantic roles & 50–950 ramp

primary
#25310E
secondary
#442F6C
accent
#49DF7C
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #25310E

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

Preview Lab → · Contrast checker → · Palette generator →

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