#25460F#25460F

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

Color values

HEX#25460F
RGBrgb(37, 70, 15)
HSLhsl(96, 65%, 17%)
HSVhsv(96, 79%, 27%)
CMYKcmyk(47.1%, 0%, 78.6%, 72.5%)
CIE-LABlab(26.18, -23.11, 27.98)
CIE-LCHlch(26.18, 36.29, 129.56°)
OKLaboklab(35.59% -0.0644 0.0634)
OKLCHoklch(35.59% 0.09 135.4)
XYZxyz(3.0393, 4.8080, 1.2197)
Luminance0.0481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25460F #300F46
analogous
#41460F #25460F #0F4615
triadic
#25460F #0F2546 #460F25
tetradic
#25460F #0F4146 #300F46 #46150F
square
#25460F #0F4146 #300F46 #46150F
split-complementary
#25460F #150F46 #460F41
monochromatic
#0D1905 #0D1905 #25460F #40781A #5AAB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##25460F#FFFFFF#000000##FFFFFF
##25460F1.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)
#494007
Deuteranopia (green-blind)
#443D14
Tritanopia (blue-blind)
#24433B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #25460f;
/* rgb */ color: rgb(37, 70, 15);
/* oklch */ color: oklch(35.6% 0.090 135.4);
Tailwind
colors: {
  custom: {
    50: '#637a51',
    500: '#25460f',
    950: '#000000',
  },
}
SCSS
$custom: #25460f;
$custom-light: #637a51;
$custom-dark: #000000;
JSON
{
  "hex": "#25460f",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 15
  },
  "hsl": {
    "h": 96,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35588,
    "c": 0.09036,
    "h": 135.4
  },
  "luminance": 0.04808
}

Semantic roles & 50–950 ramp

primary
#25460F
secondary
#603080
accent
#40E8A5
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050902
muted
#7A7B78

Preview Lab

Preview with #25460F

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

Preview Lab → · Contrast checker → · Palette generator →

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