#235B0F#235B0F

#235B0F is a dark, vivid green. Relative luminance 0.079; OKLCH L 41.8% C 0.121 H 139.2°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#235B0F
RGBrgb(35, 91, 15)
HSLhsl(104, 72%, 21%)
HSVhsv(104, 84%, 36%)
CMYKcmyk(61.5%, 0%, 83.5%, 64.3%)
CIE-LABlab(33.72, -33.15, 35.41)
CIE-LCHlch(33.72, 48.50, 133.11°)
OKLaboklab(41.77% -0.0913 0.079)
OKLCHoklch(41.77% 0.121 139.2)
XYZxyz(4.5203, 7.8736, 1.7334)
Luminance0.0787 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235B0F #470F5B
analogous
#495B0F #235B0F #0F5B21
triadic
#235B0F #0F235B #5B0F23
tetradic
#235B0F #0F495B #470F5B #5B210F
square
#235B0F #0F495B #470F5B #5B210F
split-complementary
#235B0F #210F5B #5B0F49
monochromatic
#0A1A04 #0F2606 #235B0F #379018 #4BC420

Accessibility & contrast

On white

8.16
#235B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#235B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235B0F
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235B0F#FFFFFF#000000##FFFFFF
##235B0F1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5200
Deuteranopia (green-blind)
#574E18
Tritanopia (blue-blind)
#1D584D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #235b0f;
/* rgb */ color: rgb(35, 91, 15);
/* oklch */ color: oklch(41.8% 0.121 139.2);
Tailwind
colors: {
  custom: {
    50: '#668a54',
    500: '#235b0f',
    950: '#000000',
  },
}
SCSS
$custom: #235b0f;
$custom-light: #668a54;
$custom-dark: #000000;
JSON
{
  "hex": "#235b0f",
  "rgb": {
    "r": 35,
    "g": 91,
    "b": 15
  },
  "hsl": {
    "h": 104.211,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41766,
    "c": 0.12072,
    "h": 139.2
  },
  "luminance": 0.07874
}

Semantic roles & 50–950 ramp

primary
#235B0F
secondary
#7A3195
accent
#39EEBF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #235B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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