#254F0E#254F0E

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

Color values

HEX#254F0E
RGBrgb(37, 79, 14)
HSLhsl(99, 70%, 18%)
HSVhsv(99, 82%, 31%)
CMYKcmyk(53.2%, 0%, 82.3%, 69%)
CIE-LABlab(29.45, -27.42, 31.68)
CIE-LCHlch(29.45, 41.90, 130.87°)
OKLaboklab(38.27% -0.0761 0.071)
OKLCHoklch(38.27% 0.104 137)
XYZxyz(3.6381, 6.0167, 1.3850)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254F0E #380E4F
analogous
#454F0E #254F0E #0E4F17
triadic
#254F0E #0E254F #4F0E25
tetradic
#254F0E #0E454F #380E4F #4F170E
square
#254F0E #0E454F #380E4F #4F170E
split-complementary
#254F0E #170E4F #4F0E45
monochromatic
#0C1A05 #0D1B05 #254F0E #3D8317 #56B720

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##254F0E#FFFFFF#000000##FFFFFF
##254F0E1.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)
#524803
Deuteranopia (green-blind)
#4C4415
Tritanopia (blue-blind)
#234C43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #254f0e;
/* rgb */ color: rgb(37, 79, 14);
/* oklch */ color: oklch(38.3% 0.104 137.0);
Tailwind
colors: {
  custom: {
    50: '#658152',
    500: '#254f0e',
    950: '#000000',
  },
}
SCSS
$custom: #254f0e;
$custom-light: #658152;
$custom-dark: #000000;
JSON
{
  "hex": "#254f0e",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 14
  },
  "hsl": {
    "h": 98.769,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38273,
    "c": 0.10407,
    "h": 137
  },
  "luminance": 0.06017
}

Semantic roles & 50–950 ramp

primary
#254F0E
secondary
#6A2F8A
accent
#3BEDAE
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #254F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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