#233A12#233A12

#233A12 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.9% C 0.070 H 134.0°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#233A12
RGBrgb(35, 58, 18)
HSLhsl(95, 53%, 15%)
HSVhsv(95, 69%, 23%)
CMYKcmyk(39.7%, 0%, 69%, 77.3%)
CIE-LABlab(21.68, -17.47, 21.58)
CIE-LCHlch(21.68, 27.76, 128.99°)
OKLaboklab(31.89% -0.0486 0.0504)
OKLCHoklch(31.89% 0.07 134)
XYZxyz(2.3153, 3.4270, 1.1116)
Luminance0.0343 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233A12 #29123A
analogous
#373A12 #233A12 #123A15
triadic
#233A12 #12233A #3A1223
tetradic
#233A12 #12373A #29123A #3A1512
square
#233A12 #12373A #29123A #3A1512
split-complementary
#233A12 #15123A #3A1237
monochromatic
#0E1707 #0E1707 #233A12 #3F6920 #5B972F

Accessibility & contrast

On white

12.46
#233A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#233A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233A12
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233A12#FFFFFF#000000##FFFFFF
##233A121.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C350E
Deuteranopia (green-blind)
#393315
Tritanopia (blue-blind)
#233831
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #233a12;
/* rgb */ color: rgb(35, 58, 18);
/* oklch */ color: oklch(31.9% 0.070 134.0);
Tailwind
colors: {
  custom: {
    50: '#607051',
    500: '#233a12',
    950: '#000000',
  },
}
SCSS
$custom: #233a12;
$custom-light: #607051;
$custom-dark: #000000;
JSON
{
  "hex": "#233a12",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 18
  },
  "hsl": {
    "h": 94.5,
    "s": 52.632,
    "l": 14.902
  },
  "oklch": {
    "l": 0.31888,
    "c": 0.06997,
    "h": 134
  },
  "luminance": 0.03427
}

Semantic roles & 50–950 ramp

primary
#233A12
secondary
#593573
accent
#4CDC9F
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050702
muted
#797A78

Preview Lab

Preview with #233A12

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

Preview Lab → · Contrast checker → · Palette generator →

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