#234C0C#234C0C

#234C0C is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.3% C 0.102 H 137.0°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#234C0C
RGBrgb(35, 76, 12)
HSLhsl(98, 73%, 17%)
HSVhsv(98, 84%, 30%)
CMYKcmyk(53.9%, 0%, 84.2%, 70.2%)
CIE-LABlab(28.25, -26.92, 31.26)
CIE-LCHlch(28.25, 41.25, 130.73°)
OKLaboklab(37.26% -0.0747 0.0698)
OKLCHoklch(37.26% 0.102 137)
XYZxyz(3.3438, 5.5525, 1.2433)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234C0C #350C4C
analogous
#434C0C #234C0C #0C4C15
triadic
#234C0C #0C234C #4C0C23
tetradic
#234C0C #0C434C #350C4C #4C150C
square
#234C0C #0C434C #350C4C #4C150C
split-complementary
#234C0C #150C4C #4C0C43
monochromatic
#0C1A04 #0C1A04 #234C0C #3B8114 #54B61D

Accessibility & contrast

On white

9.95
#234C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #234C0C
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234C0C#FFFFFF#000000##FFFFFF
##234C0C1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4501
Deuteranopia (green-blind)
#494113
Tritanopia (blue-blind)
#214940
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #234c0c;
/* rgb */ color: rgb(35, 76, 12);
/* oklch */ color: oklch(37.3% 0.102 137.0);
Tailwind
colors: {
  custom: {
    50: '#637e50',
    500: '#234c0c',
    950: '#000000',
  },
}
SCSS
$custom: #234c0c;
$custom-light: #637e50;
$custom-dark: #000000;
JSON
{
  "hex": "#234c0c",
  "rgb": {
    "r": 35,
    "g": 76,
    "b": 12
  },
  "hsl": {
    "h": 98.438,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37255,
    "c": 0.10227,
    "h": 137
  },
  "luminance": 0.05553
}

Semantic roles & 50–950 ramp

primary
#234C0C
secondary
#672C88
accent
#38EFAE
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #234C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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