#25450F#25450F

#25450F is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.3% C 0.089 H 135.2°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#25450F
RGBrgb(37, 69, 15)
HSLhsl(96, 64%, 16%)
HSVhsv(96, 78%, 27%)
CMYKcmyk(46.4%, 0%, 78.3%, 72.9%)
CIE-LABlab(25.81, -22.62, 27.60)
CIE-LCHlch(25.81, 35.68, 129.34°)
OKLaboklab(35.29% -0.0631 0.0626)
OKLCHoklch(35.29% 0.089 135.2)
XYZxyz(2.9772, 4.6839, 1.1991)
Luminance0.0468 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25450F #2F0F45
analogous
#40450F #25450F #0F4514
triadic
#25450F #0F2545 #450F25
tetradic
#25450F #0F4045 #2F0F45 #45140F
square
#25450F #0F4045 #2F0F45 #45140F
split-complementary
#25450F #140F45 #450F40
monochromatic
#0D1905 #0D1905 #25450F #40771A #5BAA25

Accessibility & contrast

On white

10.84
#25450F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#25450F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25450F
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25450F#FFFFFF#000000##FFFFFF
##25450F1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F07
Deuteranopia (green-blind)
#433C14
Tritanopia (blue-blind)
#24423A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #25450f;
/* rgb */ color: rgb(37, 69, 15);
/* oklch */ color: oklch(35.3% 0.089 135.2);
Tailwind
colors: {
  custom: {
    50: '#637951',
    500: '#25450f',
    950: '#000000',
  },
}
SCSS
$custom: #25450f;
$custom-light: #637951;
$custom-dark: #000000;
JSON
{
  "hex": "#25450f",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 15
  },
  "hsl": {
    "h": 95.556,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35288,
    "c": 0.08886,
    "h": 135.2
  },
  "luminance": 0.04684
}

Semantic roles & 50–950 ramp

primary
#25450F
secondary
#5F307F
accent
#41E7A3
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050902
muted
#7A7B78

Preview Lab

Preview with #25450F

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

Preview Lab → · Contrast checker → · Palette generator →

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