#255D23#255D23

#255D23 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.6% C 0.107 H 142.8°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#255D23
RGBrgb(37, 93, 35)
HSLhsl(118, 45%, 25%)
HSVhsv(118, 62%, 36%)
CMYKcmyk(60.2%, 0%, 62.4%, 63.5%)
CIE-LABlab(34.69, -31.38, 27.41)
CIE-LCHlch(34.69, 41.66, 138.86°)
OKLaboklab(42.64% -0.0854 0.0647)
OKLCHoklch(42.64% 0.107 142.8)
XYZxyz(4.9804, 8.3429, 2.9377)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#255D23 #5B235D
analogous
#425D23 #255D23 #235D3E
triadic
#255D23 #23255D #5D2325
tetradic
#255D23 #23425D #5B235D #5D3E23
square
#255D23 #23425D #5B235D #5D3E23
split-complementary
#255D23 #3E235D #5D2342
monochromatic
#091608 #133112 #255D23 #378934 #48B644

Accessibility & contrast

On white

7.87
#255D23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#255D23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #255D23
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##255D23#FFFFFF#000000##FFFFFF
##255D231.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F551D
Deuteranopia (green-blind)
#585028
Tritanopia (blue-blind)
#1C5A50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #255d23;
/* rgb */ color: rgb(37, 93, 35);
/* oklch */ color: oklch(42.6% 0.107 142.8);
Tailwind
colors: {
  custom: {
    50: '#668b60',
    500: '#255d23',
    950: '#000000',
  },
}
SCSS
$custom: #255d23;
$custom-light: #668b60;
$custom-dark: #000000;
JSON
{
  "hex": "#255d23",
  "rgb": {
    "r": 37,
    "g": 93,
    "b": 35
  },
  "hsl": {
    "h": 117.931,
    "s": 45.312,
    "l": 25.098
  },
  "oklch": {
    "l": 0.42643,
    "c": 0.10713,
    "h": 142.8
  },
  "luminance": 0.08343
}

Semantic roles & 50–950 ramp

primary
#255D23
secondary
#8E4B91
accent
#53D5D1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #255D23

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

Preview Lab → · Contrast checker → · Palette generator →

#255D23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva