#254F0D#254F0D

#254F0D is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.3% C 0.105 H 136.8°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#254F0D
RGBrgb(37, 79, 13)
HSLhsl(98, 72%, 18%)
HSVhsv(98, 84%, 31%)
CMYKcmyk(53.2%, 0%, 83.5%, 69%)
CIE-LABlab(29.45, -27.49, 32.07)
CIE-LCHlch(29.45, 42.24, 130.61°)
OKLaboklab(38.27% -0.0764 0.0716)
OKLCHoklch(38.27% 0.105 136.8)
XYZxyz(3.6315, 6.0141, 1.3502)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254F0D #370D4F
analogous
#464F0D #254F0D #0D4F16
triadic
#254F0D #0D254F #4F0D25
tetradic
#254F0D #0D464F #370D4F #4F160D
square
#254F0D #0D464F #370D4F #4F160D
split-complementary
#254F0D #160D4F #4F0D46
monochromatic
#0C1A04 #0C1A04 #254F0D #3E8416 #56B81E

Accessibility & contrast

On white

9.53
#254F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#254F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254F0D
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254F0D#FFFFFF#000000##FFFFFF
##254F0D1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524801
Deuteranopia (green-blind)
#4C4414
Tritanopia (blue-blind)
#234C43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #254f0d;
/* rgb */ color: rgb(37, 79, 13);
/* oklch */ color: oklch(38.3% 0.105 136.8);
Tailwind
colors: {
  custom: {
    50: '#658151',
    500: '#254f0d',
    950: '#000000',
  },
}
SCSS
$custom: #254f0d;
$custom-light: #658151;
$custom-dark: #000000;
JSON
{
  "hex": "#254f0d",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 13
  },
  "hsl": {
    "h": 98.182,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38265,
    "c": 0.10471,
    "h": 136.8
  },
  "luminance": 0.06014
}

Semantic roles & 50–950 ramp

primary
#254F0D
secondary
#682E8A
accent
#39EEAD
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #254F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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