#255229#255229

#255229 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.5% C 0.084 H 145.6°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#255229
RGBrgb(37, 82, 41)
HSLhsl(125, 38%, 23%)
HSVhsv(125, 55%, 32%)
CMYKcmyk(54.9%, 0%, 50%, 67.8%)
CIE-LABlab(30.85, -25.45, 19.39)
CIE-LCHlch(30.85, 31.99, 142.70°)
OKLaboklab(39.52% -0.0691 0.0474)
OKLCHoklch(39.52% 0.084 145.6)
XYZxyz(4.1802, 6.5877, 3.1487)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255229 #52254E
analogous
#375225 #255229 #25523F
triadic
#255229 #292552 #522925
tetradic
#255229 #253752 #52254E #523F25
square
#255229 #253752 #52254E #523F25
split-complementary
#255229 #3F2552 #522537
monochromatic
#0A150B #122814 #255229 #387C3E #4BA653

Accessibility & contrast

On white

9.06
#255229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#255229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255229
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255229#FFFFFF#000000##FFFFFF
##2552291.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B26
Deuteranopia (green-blind)
#4D472C
Tritanopia (blue-blind)
#1E5048
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #255229;
/* rgb */ color: rgb(37, 82, 41);
/* oklch */ color: oklch(39.5% 0.084 145.6);
Tailwind
colors: {
  custom: {
    50: '#648363',
    500: '#255229',
    950: '#000000',
  },
}
SCSS
$custom: #255229;
$custom-light: #648363;
$custom-dark: #000000;
JSON
{
  "hex": "#255229",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 41
  },
  "hsl": {
    "h": 125.333,
    "s": 37.815,
    "l": 23.333
  },
  "oklch": {
    "l": 0.39518,
    "c": 0.08376,
    "h": 145.6
  },
  "luminance": 0.06588
}

Semantic roles & 50–950 ramp

primary
#255229
secondary
#854D80
accent
#5AC3CE
background
#F6F8F5
surface
#EBEFEA
border
#C6CAC6
text
#050A05
muted
#7A7C79

Preview Lab

Preview with #255229

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

Preview Lab → · Contrast checker → · Palette generator →

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