#234C12#234C12

#234C12 is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.3% C 0.098 H 138.1°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#234C12
RGBrgb(35, 76, 18)
HSLhsl(102, 62%, 18%)
HSVhsv(102, 76%, 30%)
CMYKcmyk(53.9%, 0%, 76.3%, 70.2%)
CIE-LABlab(28.30, -26.42, 28.77)
CIE-LCHlch(28.30, 39.06, 132.56°)
OKLaboklab(37.31% -0.0729 0.0656)
OKLCHoklch(37.31% 0.098 138.1)
XYZxyz(3.3866, 5.5696, 1.4687)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234C12 #3B124C
analogous
#404C12 #234C12 #124C1E
triadic
#234C12 #12234C #4C1223
tetradic
#234C12 #12404C #3B124C #4C1E12
square
#234C12 #12404C #3B124C #4C1E12
split-complementary
#234C12 #1E124C #4C1240
monochromatic
#0B1906 #0C1B06 #234C12 #3A7D1E #51AF29

Accessibility & contrast

On white

9.93
#234C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#234C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234C12
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234C12#FFFFFF#000000##FFFFFF
##234C121.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4509
Deuteranopia (green-blind)
#494117
Tritanopia (blue-blind)
#204940
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #234c12;
/* rgb */ color: rgb(35, 76, 18);
/* oklch */ color: oklch(37.3% 0.098 138.1);
Tailwind
colors: {
  custom: {
    50: '#637e54',
    500: '#234c12',
    950: '#000000',
  },
}
SCSS
$custom: #234c12;
$custom-light: #637e54;
$custom-dark: #000000;
JSON
{
  "hex": "#234c12",
  "rgb": {
    "r": 35,
    "g": 76,
    "b": 18
  },
  "hsl": {
    "h": 102.414,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37307,
    "c": 0.09808,
    "h": 138.1
  },
  "luminance": 0.0557
}

Semantic roles & 50–950 ramp

primary
#234C12
secondary
#6E3585
accent
#43E5B5
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#050A03
muted
#7A7C78

Preview Lab

Preview with #234C12

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

Preview Lab → · Contrast checker → · Palette generator →

#234C12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva