#234012#234012

#234012 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.7% C 0.080 H 135.8°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#234012
RGBrgb(35, 64, 18)
HSLhsl(98, 56%, 16%)
HSVhsv(98, 72%, 25%)
CMYKcmyk(45.3%, 0%, 71.9%, 74.9%)
CIE-LABlab(23.89, -20.62, 24.05)
CIE-LCHlch(23.89, 31.68, 130.61°)
OKLaboklab(33.7% -0.0572 0.0556)
OKLCHoklch(33.7% 0.08 135.8)
XYZxyz(2.6356, 4.0677, 1.2184)
Luminance0.0407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234012 #2F1240
analogous
#3A4012 #234012 #124018
triadic
#234012 #122340 #401223
tetradic
#234012 #123A40 #2F1240 #401812
square
#234012 #123A40 #2F1240 #401812
split-complementary
#234012 #181240 #40123A
monochromatic
#0D1807 #0D1807 #234012 #3D701F #57A02D

Accessibility & contrast

On white

11.58
#234012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#234012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234012
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234012#FFFFFF#000000##FFFFFF
##2340121.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0C
Deuteranopia (green-blind)
#3E3816
Tritanopia (blue-blind)
#223D36
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #234012;
/* rgb */ color: rgb(35, 64, 18);
/* oklch */ color: oklch(33.7% 0.080 135.8);
Tailwind
colors: {
  custom: {
    50: '#617552',
    500: '#234012',
    950: '#000000',
  },
}
SCSS
$custom: #234012;
$custom-light: #617552;
$custom-dark: #000000;
JSON
{
  "hex": "#234012",
  "rgb": {
    "r": 35,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 97.826,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.33695,
    "c": 0.07978,
    "h": 135.8
  },
  "luminance": 0.04068
}

Semantic roles & 50–950 ramp

primary
#234012
secondary
#603579
accent
#48DFA8
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #234012

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

Preview Lab → · Contrast checker → · Palette generator →

#234012 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva