#254B0F#254B0F

#254B0F is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.1% C 0.098 H 136.5°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#254B0F
RGBrgb(37, 75, 15)
HSLhsl(98, 67%, 18%)
HSVhsv(98, 80%, 29%)
CMYKcmyk(50.7%, 0%, 80%, 70.6%)
CIE-LABlab(28.01, -25.50, 29.83)
CIE-LCHlch(28.01, 39.24, 130.52°)
OKLaboklab(37.09% -0.0709 0.0673)
OKLCHoklch(37.09% 0.098 136.5)
XYZxyz(3.3652, 5.4597, 1.3284)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254B0F #350F4B
analogous
#434B0F #254B0F #0F4B17
triadic
#254B0F #0F254B #4B0F25
tetradic
#254B0F #0F434B #350F4B #4B170F
square
#254B0F #0F434B #350F4B #4B170F
split-complementary
#254B0F #170F4B #4B0F43
monochromatic
#0D1A05 #0D1A05 #254B0F #3E7E19 #57B123

Accessibility & contrast

On white

10.04
#254B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#254B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254B0F
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254B0F#FFFFFF#000000##FFFFFF
##254B0F1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4405
Deuteranopia (green-blind)
#494115
Tritanopia (blue-blind)
#23483F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #254b0f;
/* rgb */ color: rgb(37, 75, 15);
/* oklch */ color: oklch(37.1% 0.098 136.5);
Tailwind
colors: {
  custom: {
    50: '#647d52',
    500: '#254b0f',
    950: '#000000',
  },
}
SCSS
$custom: #254b0f;
$custom-light: #647d52;
$custom-dark: #000000;
JSON
{
  "hex": "#254b0f",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 15
  },
  "hsl": {
    "h": 98,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37085,
    "c": 0.09771,
    "h": 136.5
  },
  "luminance": 0.0546
}

Semantic roles & 50–950 ramp

primary
#254B0F
secondary
#663085
accent
#3EEAAB
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #254B0F

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

Preview Lab → · Contrast checker → · Palette generator →

#254B0F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva