#234F12#234F12

#234F12 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.2% C 0.102 H 138.4°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#234F12
RGBrgb(35, 79, 18)
HSLhsl(103, 63%, 19%)
HSVhsv(103, 77%, 31%)
CMYKcmyk(55.7%, 0%, 77.2%, 69%)
CIE-LABlab(29.39, -27.78, 29.91)
CIE-LCHlch(29.39, 40.82, 132.88°)
OKLaboklab(38.21% -0.0766 0.0679)
OKLCHoklch(38.21% 0.102 138.4)
XYZxyz(3.5982, 5.9927, 1.5392)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234F12 #3E124F
analogous
#424F12 #234F12 #124F20
triadic
#234F12 #12234F #4F1223
tetradic
#234F12 #12424F #3E124F #4F2012
square
#234F12 #12424F #3E124F #4F2012
split-complementary
#234F12 #20124F #4F1242
monochromatic
#0B1906 #0D1D07 #234F12 #39811D #4FB329

Accessibility & contrast

On white

9.55
#234F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#234F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234F12
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234F12#FFFFFF#000000##FFFFFF
##234F121.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524808
Deuteranopia (green-blind)
#4C4418
Tritanopia (blue-blind)
#1F4C43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #234f12;
/* rgb */ color: rgb(35, 79, 18);
/* oklch */ color: oklch(38.2% 0.102 138.4);
Tailwind
colors: {
  custom: {
    50: '#638154',
    500: '#234f12',
    950: '#000000',
  },
}
SCSS
$custom: #234f12;
$custom-light: #638154;
$custom-dark: #000000;
JSON
{
  "hex": "#234f12",
  "rgb": {
    "r": 35,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 103.279,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38207,
    "c": 0.10241,
    "h": 138.4
  },
  "luminance": 0.05993
}

Semantic roles & 50–950 ramp

primary
#234F12
secondary
#713588
accent
#42E6B8
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #234F12

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

Preview Lab → · Contrast checker → · Palette generator →

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