#254107#254107

#254107 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.0% C 0.089 H 132.7°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#254107
RGBrgb(37, 65, 7)
HSLhsl(89, 81%, 14%)
HSVhsv(89, 89%, 25%)
CMYKcmyk(43.1%, 0%, 89.2%, 74.5%)
CIE-LABlab(24.29, -21.25, 29.46)
CIE-LCHlch(24.29, 36.33, 125.80°)
OKLaboklab(34.02% -0.06 0.0652)
OKLCHoklch(34.02% 0.089 132.7)
XYZxyz(2.6916, 4.1891, 0.8677)
Luminance0.0419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254107 #230741
analogous
#414007 #254107 #084107
triadic
#254107 #072541 #410725
tetradic
#254107 #074140 #230741 #410708
square
#254107 #074140 #230741 #410708
split-complementary
#254107 #070841 #400741
monochromatic
#101C03 #101C03 #254107 #44780D #64B013

Accessibility & contrast

On white

11.43
#254107 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254107
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254107#FFFFFF#000000##FFFFFF
##2541071.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#40390D
Tritanopia (blue-blind)
#253E36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #254107;
/* rgb */ color: rgb(37, 65, 7);
/* oklch */ color: oklch(34.0% 0.089 132.7);
Tailwind
colors: {
  custom: {
    50: '#63764c',
    500: '#254107',
    950: '#000000',
  },
}
SCSS
$custom: #254107;
$custom-light: #63764c;
$custom-dark: #000000;
JSON
{
  "hex": "#254107",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 7
  },
  "hsl": {
    "h": 88.966,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.34019,
    "c": 0.0886,
    "h": 132.7
  },
  "luminance": 0.04189
}

Semantic roles & 50–950 ramp

primary
#254107
secondary
#502480
accent
#31F790
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050801
muted
#7A7B77

Preview Lab

Preview with #254107

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

Preview Lab → · Contrast checker → · Palette generator →

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