#25460C#25460C

#25460C is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.6% C 0.093 H 134.9°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#25460C
RGBrgb(37, 70, 12)
HSLhsl(94, 71%, 16%)
HSVhsv(94, 83%, 27%)
CMYKcmyk(47.1%, 0%, 82.9%, 72.5%)
CIE-LABlab(26.16, -23.36, 29.25)
CIE-LCHlch(26.16, 37.43, 128.61°)
OKLaboklab(35.56% -0.0653 0.0656)
OKLCHoklch(35.56% 0.093 134.9)
XYZxyz(3.0194, 4.8000, 1.1152)
Luminance0.0480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25460C #2D0C46
analogous
#42460C #25460C #0C4610
triadic
#25460C #0C2546 #460C25
tetradic
#25460C #0C4246 #2D0C46 #46100C
square
#25460C #0C4246 #2D0C46 #46100C
split-complementary
#25460C #100C46 #460C42
monochromatic
#0E1A04 #0E1A04 #25460C #417A15 #5CAE1E

Accessibility & contrast

On white

10.71
#25460C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#25460C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25460C
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25460C#FFFFFF#000000##FFFFFF
##25460C1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494003
Deuteranopia (green-blind)
#453D12
Tritanopia (blue-blind)
#24433B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #25460c;
/* rgb */ color: rgb(37, 70, 12);
/* oklch */ color: oklch(35.6% 0.093 134.9);
Tailwind
colors: {
  custom: {
    50: '#637a4f',
    500: '#25460c',
    950: '#000000',
  },
}
SCSS
$custom: #25460c;
$custom-light: #637a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#25460c",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 12
  },
  "hsl": {
    "h": 94.138,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35561,
    "c": 0.09254,
    "h": 134.9
  },
  "luminance": 0.048
}

Semantic roles & 50–950 ramp

primary
#25460C
secondary
#5D2C82
accent
#3AEDA0
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050902
muted
#7A7B78

Preview Lab

Preview with #25460C

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

Preview Lab → · Contrast checker → · Palette generator →

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