#235138#235138

#235138 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.5% C 0.067 H 157.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#235138
RGBrgb(35, 81, 56)
HSLhsl(147, 40%, 23%)
HSVhsv(147, 57%, 32%)
CMYKcmyk(56.8%, 0%, 30.9%, 68.2%)
CIE-LABlab(30.71, -22.48, 10.02)
CIE-LCHlch(30.71, 24.61, 155.99°)
OKLaboklab(39.48% -0.0616 0.0255)
OKLCHoklch(39.48% 0.067 157.5)
XYZxyz(4.3490, 6.5273, 4.7713)
Luminance0.0653 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235138 #51233C
analogous
#255123 #235138 #23514F
triadic
#235138 #382351 #513823
tetradic
#235138 #232551 #51233C #514F23
square
#235138 #232551 #51233C #514F23
split-complementary
#235138 #4F2351 #512325
monochromatic
#09150F #11261A #235138 #357C56 #48A673

Accessibility & contrast

On white

9.11
#235138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#235138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235138
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235138#FFFFFF#000000##FFFFFF
##2351381.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504B37
Deuteranopia (green-blind)
#4A463A
Tritanopia (blue-blind)
#15504A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #235138;
/* rgb */ color: rgb(35, 81, 56);
/* oklch */ color: oklch(39.5% 0.067 157.5);
Tailwind
colors: {
  custom: {
    50: '#62826e',
    500: '#235138',
    950: '#000000',
  },
}
SCSS
$custom: #235138;
$custom-light: #62826e;
$custom-dark: #000000;
JSON
{
  "hex": "#235138",
  "rgb": {
    "r": 35,
    "g": 81,
    "b": 56
  },
  "hsl": {
    "h": 147.391,
    "s": 39.655,
    "l": 22.745
  },
  "oklch": {
    "l": 0.39475,
    "c": 0.06662,
    "h": 157.5
  },
  "luminance": 0.06528
}

Semantic roles & 50–950 ramp

primary
#235138
secondary
#854B6A
accent
#5899D0
background
#F5F8F6
surface
#EAEFEC
border
#C6CAC7
text
#050A07
muted
#797C7A

Preview Lab

Preview with #235138

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

Preview Lab → · Contrast checker → · Palette generator →

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