#238151#238151

#238151 is a mid, moderate green. Relative luminance 0.167; OKLCH L 53.7% C 0.115 H 156.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#238151
RGBrgb(35, 129, 81)
HSLhsl(149, 57%, 32%)
HSVhsv(149, 73%, 51%)
CMYKcmyk(72.9%, 0%, 37.2%, 49.4%)
CIE-LABlab(47.82, -38.81, 18.41)
CIE-LCHlch(47.82, 42.96, 154.63°)
OKLaboklab(53.68% -0.105 0.0462)
OKLCHoklch(53.68% 0.115 156.3)
XYZxyz(10.0277, 16.6508, 10.4684)
Luminance0.1665 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238151 #812353
analogous
#248123 #238151 #238180
triadic
#238151 #512381 #815123
tetradic
#238151 #232481 #812353 #818023
square
#238151 #232481 #812353 #818023
split-complementary
#238151 #802381 #812324
monochromatic
#092115 #165133 #238151 #30B16F #4FCF8E

Accessibility & contrast

On white

4.85
#238151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#238151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #238151
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238151#FFFFFF#000000##FFFFFF
##2381511.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80764E
Deuteranopia (green-blind)
#756E54
Tritanopia (blue-blind)
#008075
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #238151;
/* rgb */ color: rgb(35, 129, 81);
/* oklch */ color: oklch(53.7% 0.115 156.3);
Tailwind
colors: {
  custom: {
    50: '#6ca682',
    500: '#238151',
    950: '#000000',
  },
}
SCSS
$custom: #238151;
$custom-light: #6ca682;
$custom-dark: #000000;
JSON
{
  "hex": "#238151",
  "rgb": {
    "r": 35,
    "g": 129,
    "b": 81
  },
  "hsl": {
    "h": 149.362,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53681,
    "c": 0.11476,
    "h": 156.3
  },
  "luminance": 0.16652
}

Semantic roles & 50–950 ramp

primary
#238151
secondary
#B34D81
accent
#4796E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #238151

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

Preview Lab → · Contrast checker → · Palette generator →

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