#235312#235312

#235312 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.4% C 0.108 H 138.9°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#235312
RGBrgb(35, 83, 18)
HSLhsl(104, 64%, 20%)
HSVhsv(104, 78%, 33%)
CMYKcmyk(57.8%, 0%, 78.3%, 67.5%)
CIE-LABlab(30.85, -29.54, 31.40)
CIE-LCHlch(30.85, 43.11, 133.26°)
OKLaboklab(39.4% -0.0814 0.0711)
OKLCHoklch(39.4% 0.108 138.9)
XYZxyz(3.8954, 6.5872, 1.6383)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235312 #421253
analogous
#435312 #235312 #125322
triadic
#235312 #122353 #531223
tetradic
#235312 #124353 #421253 #532212
square
#235312 #124353 #421253 #532212
split-complementary
#235312 #221253 #531243
monochromatic
#0B1905 #0E2107 #235312 #38851D #4DB828

Accessibility & contrast

On white

9.06
#235312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#235312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235312
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235312#FFFFFF#000000##FFFFFF
##2353121.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B07
Deuteranopia (green-blind)
#504718
Tritanopia (blue-blind)
#1F5046
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #235312;
/* rgb */ color: rgb(35, 83, 18);
/* oklch */ color: oklch(39.4% 0.108 138.9);
Tailwind
colors: {
  custom: {
    50: '#648454',
    500: '#235312',
    950: '#000000',
  },
}
SCSS
$custom: #235312;
$custom-light: #648454;
$custom-dark: #000000;
JSON
{
  "hex": "#235312",
  "rgb": {
    "r": 35,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 104.308,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39404,
    "c": 0.10805,
    "h": 138.9
  },
  "luminance": 0.06588
}

Semantic roles & 50–950 ramp

primary
#235312
secondary
#75358C
accent
#40E7BC
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #235312

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

Preview Lab → · Contrast checker → · Palette generator →

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