#234C0F#234C0F

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

Color values

HEX#234C0F
RGBrgb(35, 76, 15)
HSLhsl(100, 67%, 18%)
HSVhsv(100, 80%, 30%)
CMYKcmyk(53.9%, 0%, 80.3%, 70.2%)
CIE-LABlab(28.28, -26.68, 30.07)
CIE-LCHlch(28.28, 40.20, 131.58°)
OKLaboklab(37.28% -0.0739 0.0678)
OKLCHoklch(37.28% 0.1 137.5)
XYZxyz(3.3637, 5.5605, 1.3479)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234C0F #380F4C
analogous
#414C0F #234C0F #0F4C19
triadic
#234C0F #0F234C #4C0F23
tetradic
#234C0F #0F414C #380F4C #4C190F
square
#234C0F #0F414C #380F4C #4C190F
split-complementary
#234C0F #190F4C #4C0F41
monochromatic
#0C1A05 #0C1A05 #234C0F #3B7F19 #52B223

Accessibility & contrast

On white

9.94
#234C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #234C0F
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234C0F#FFFFFF#000000##FFFFFF
##234C0F1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #234c0f;
/* rgb */ color: rgb(35, 76, 15);
/* oklch */ color: oklch(37.3% 0.100 137.5);
Tailwind
colors: {
  custom: {
    50: '#637e52',
    500: '#234c0f',
    950: '#000000',
  },
}
SCSS
$custom: #234c0f;
$custom-light: #637e52;
$custom-dark: #000000;
JSON
{
  "hex": "#234c0f",
  "rgb": {
    "r": 35,
    "g": 76,
    "b": 15
  },
  "hsl": {
    "h": 100.328,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37279,
    "c": 0.1003,
    "h": 137.5
  },
  "luminance": 0.05561
}

Semantic roles & 50–950 ramp

primary
#234C0F
secondary
#6A3186
accent
#3EEAB2
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#050A02
muted
#7A7C78

Preview Lab

Preview with #234C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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