#233C12#233C12

#233C12 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.5% C 0.073 H 134.7°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#233C12
RGBrgb(35, 60, 18)
HSLhsl(96, 54%, 15%)
HSVhsv(96, 70%, 24%)
CMYKcmyk(41.7%, 0%, 70%, 76.5%)
CIE-LABlab(22.42, -18.54, 22.41)
CIE-LCHlch(22.42, 29.08, 129.60°)
OKLaboklab(32.49% -0.0515 0.0521)
OKLCHoklch(32.49% 0.073 134.7)
XYZxyz(2.4181, 3.6326, 1.1459)
Luminance0.0363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233C12 #2B123C
analogous
#383C12 #233C12 #123C16
triadic
#233C12 #12233C #3C1223
tetradic
#233C12 #12383C #2B123C #3C1612
square
#233C12 #12383C #2B123C #3C1612
split-complementary
#233C12 #16123C #3C1238
monochromatic
#0E1807 #0E1807 #233C12 #3E6B20 #5A9A2E

Accessibility & contrast

On white

12.16
#233C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#233C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233C12
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233C12#FFFFFF#000000##FFFFFF
##233C121.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E370D
Deuteranopia (green-blind)
#3B3515
Tritanopia (blue-blind)
#233A33
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #233c12;
/* rgb */ color: rgb(35, 60, 18);
/* oklch */ color: oklch(32.5% 0.073 134.7);
Tailwind
colors: {
  custom: {
    50: '#607252',
    500: '#233c12',
    950: '#000000',
  },
}
SCSS
$custom: #233c12;
$custom-light: #607252;
$custom-dark: #000000;
JSON
{
  "hex": "#233c12",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 18
  },
  "hsl": {
    "h": 95.714,
    "s": 53.846,
    "l": 15.294
  },
  "oklch": {
    "l": 0.3249,
    "c": 0.07329,
    "h": 134.7
  },
  "luminance": 0.03633
}

Semantic roles & 50–950 ramp

primary
#233C12
secondary
#5B3575
accent
#4BDDA2
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050802
muted
#797B78

Preview Lab

Preview with #233C12

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

Preview Lab → · Contrast checker → · Palette generator →

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