#235212#235212

#235212 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.1% C 0.107 H 138.8°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#235212
RGBrgb(35, 82, 18)
HSLhsl(104, 64%, 20%)
HSVhsv(104, 78%, 32%)
CMYKcmyk(57.3%, 0%, 78%, 67.8%)
CIE-LABlab(30.49, -29.11, 31.03)
CIE-LCHlch(30.49, 42.54, 133.17°)
OKLaboklab(39.11% -0.0802 0.0703)
OKLCHoklch(39.11% 0.107 138.8)
XYZxyz(3.8195, 6.4353, 1.6130)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235212 #411252
analogous
#435212 #235212 #125221
triadic
#235212 #122352 #521223
tetradic
#235212 #124352 #411252 #522112
square
#235212 #124352 #411252 #522112
split-complementary
#235212 #211252 #521243
monochromatic
#0B1906 #0E2007 #235212 #38841D #4EB628

Accessibility & contrast

On white

9.18
#235212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#235212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235212
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235212#FFFFFF#000000##FFFFFF
##2352121.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A07
Deuteranopia (green-blind)
#4F4618
Tritanopia (blue-blind)
#1F4F45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #235212;
/* rgb */ color: rgb(35, 82, 18);
/* oklch */ color: oklch(39.1% 0.107 138.8);
Tailwind
colors: {
  custom: {
    50: '#648354',
    500: '#235212',
    950: '#000000',
  },
}
SCSS
$custom: #235212;
$custom-light: #648354;
$custom-dark: #000000;
JSON
{
  "hex": "#235212",
  "rgb": {
    "r": 35,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 104.063,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39105,
    "c": 0.10665,
    "h": 138.8
  },
  "luminance": 0.06436
}

Semantic roles & 50–950 ramp

primary
#235212
secondary
#74358B
accent
#41E7BB
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #235212

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

Preview Lab → · Contrast checker → · Palette generator →

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