#254112#254112

#254112 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.1% C 0.080 H 134.9°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#254112
RGBrgb(37, 65, 18)
HSLhsl(96, 57%, 16%)
HSVhsv(96, 72%, 25%)
CMYKcmyk(43.1%, 0%, 72.3%, 74.5%)
CIE-LABlab(24.38, -20.31, 24.61)
CIE-LCHlch(24.38, 31.91, 129.53°)
OKLaboklab(34.12% -0.0565 0.0568)
OKLCHoklch(34.12% 0.08 134.9)
XYZxyz(2.7624, 4.2174, 1.2406)
Luminance0.0422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254112 #2E1241
analogous
#3D4112 #254112 #124117
triadic
#254112 #122541 #411225
tetradic
#254112 #123D41 #2E1241 #411712
square
#254112 #123D41 #2E1241 #411712
split-complementary
#254112 #171241 #41123D
monochromatic
#0E1807 #0E1807 #254112 #40711F #5CA12D

Accessibility & contrast

On white

11.39
#254112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#254112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254112
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254112#FFFFFF#000000##FFFFFF
##2541121.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B0C
Deuteranopia (green-blind)
#403916
Tritanopia (blue-blind)
#253E37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #254112;
/* rgb */ color: rgb(37, 65, 18);
/* oklch */ color: oklch(34.1% 0.080 134.9);
Tailwind
colors: {
  custom: {
    50: '#627652',
    500: '#254112',
    950: '#000000',
  },
}
SCSS
$custom: #254112;
$custom-light: #627652;
$custom-dark: #000000;
JSON
{
  "hex": "#254112",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 18
  },
  "hsl": {
    "h": 95.745,
    "s": 56.627,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34122,
    "c": 0.08012,
    "h": 134.9
  },
  "luminance": 0.04218
}

Semantic roles & 50–950 ramp

primary
#254112
secondary
#5E357A
accent
#48E0A2
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #254112

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

Preview Lab → · Contrast checker → · Palette generator →

#254112 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva