#235C28#235C28

#235C28 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.3% C 0.102 H 145.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#235C28
RGBrgb(35, 92, 40)
HSLhsl(125, 45%, 25%)
HSVhsv(125, 62%, 36%)
CMYKcmyk(62%, 0%, 56.5%, 63.9%)
CIE-LABlab(34.32, -30.78, 24.25)
CIE-LCHlch(34.32, 39.19, 141.77°)
OKLaboklab(42.34% -0.0834 0.0582)
OKLCHoklch(42.34% 0.102 145.1)
XYZxyz(4.9030, 8.1644, 3.3246)
Luminance0.0817 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235C28 #5C2357
analogous
#3B5C23 #235C28 #235C44
triadic
#235C28 #28235C #5C2823
tetradic
#235C28 #233B5C #5C2357 #5C4423
square
#235C28 #233B5C #5C2357 #5C4423
split-complementary
#235C28 #44235C #5C233B
monochromatic
#08160A #123015 #235C28 #34883B #45B54F

Accessibility & contrast

On white

7.98
#235C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#235C28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235C28
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235C28#FFFFFF#000000##FFFFFF
##235C281.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5423
Deuteranopia (green-blind)
#564F2C
Tritanopia (blue-blind)
#185A50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #235c28;
/* rgb */ color: rgb(35, 92, 40);
/* oklch */ color: oklch(42.3% 0.102 145.1);
Tailwind
colors: {
  custom: {
    50: '#648b63',
    500: '#235c28',
    950: '#000000',
  },
}
SCSS
$custom: #235c28;
$custom-light: #648b63;
$custom-dark: #000000;
JSON
{
  "hex": "#235c28",
  "rgb": {
    "r": 35,
    "g": 92,
    "b": 40
  },
  "hsl": {
    "h": 125.263,
    "s": 44.882,
    "l": 24.902
  },
  "oklch": {
    "l": 0.42344,
    "c": 0.10174,
    "h": 145.1
  },
  "luminance": 0.08165
}

Semantic roles & 50–950 ramp

primary
#235C28
secondary
#904B8A
accent
#53C9D5
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #235C28

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

Preview Lab → · Contrast checker → · Palette generator →

#235C28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva