#154229#154229

#154229 is a dark, moderate green. Relative luminance 0.042; OKLCH L 34.0% C 0.066 H 155.8°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#154229
RGBrgb(21, 66, 41)
HSLhsl(147, 52%, 17%)
HSVhsv(147, 68%, 26%)
CMYKcmyk(68.2%, 0%, 37.9%, 74.1%)
CIE-LABlab(24.37, -22.26, 10.78)
CIE-LCHlch(24.37, 24.73, 154.17°)
OKLaboklab(34.03% -0.0605 0.0272)
OKLCHoklch(34.03% 0.066 155.8)
XYZxyz(2.6575, 4.2157, 2.7711)
Luminance0.0422 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154229 #42152E
analogous
#184215 #154229 #154240
triadic
#154229 #291542 #422915
tetradic
#154229 #151842 #42152E #424015
square
#154229 #151842 #42152E #424015
split-complementary
#154229 #401542 #421518
monochromatic
#07170E #07170E #154229 #247046 #339F63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##154229#FFFFFF#000000##FFFFFF
##1542291.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)
#423C27
Deuteranopia (green-blind)
#3C382B
Tritanopia (blue-blind)
#04413B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #154229;
/* rgb */ color: rgb(21, 66, 41);
/* oklch */ color: oklch(34.0% 0.066 155.8);
Tailwind
colors: {
  custom: {
    50: '#587762',
    500: '#154229',
    950: '#000000',
  },
}
SCSS
$custom: #154229;
$custom-light: #587762;
$custom-dark: #000000;
JSON
{
  "hex": "#154229",
  "rgb": {
    "r": 21,
    "g": 66,
    "b": 41
  },
  "hsl": {
    "h": 146.667,
    "s": 51.724,
    "l": 17.059
  },
  "oklch": {
    "l": 0.34032,
    "c": 0.06632,
    "h": 155.8
  },
  "luminance": 0.04216
}

Semantic roles & 50–950 ramp

primary
#154229
secondary
#7A395D
accent
#4D9CDB
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #154229

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

Preview Lab → · Contrast checker → · Palette generator →

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