#234E0C#234E0C

#234E0C is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 37.9% C 0.105 H 137.3°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#234E0C
RGBrgb(35, 78, 12)
HSLhsl(99, 73%, 18%)
HSVhsv(99, 85%, 31%)
CMYKcmyk(55.1%, 0%, 84.6%, 69.4%)
CIE-LABlab(28.99, -27.81, 31.97)
CIE-LCHlch(28.99, 42.37, 131.02°)
OKLaboklab(37.86% -0.0772 0.0713)
OKLCHoklch(37.86% 0.105 137.3)
XYZxyz(3.4838, 5.8324, 1.2899)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234E0C #370C4E
analogous
#444E0C #234E0C #0C4E16
triadic
#234E0C #0C234E #4E0C23
tetradic
#234E0C #0C444E #370C4E #4E160C
square
#234E0C #0C444E #370C4E #4E160C
split-complementary
#234E0C #160C4E #4E0C44
monochromatic
#0C1B04 #0C1B04 #234E0C #3B8314 #53B81C

Accessibility & contrast

On white

9.69
#234E0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#234E0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234E0C
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234E0C#FFFFFF#000000##FFFFFF
##234E0C1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514700
Deuteranopia (green-blind)
#4B4313
Tritanopia (blue-blind)
#204B42
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #234e0c;
/* rgb */ color: rgb(35, 78, 12);
/* oklch */ color: oklch(37.9% 0.105 137.3);
Tailwind
colors: {
  custom: {
    50: '#638051',
    500: '#234e0c',
    950: '#000000',
  },
}
SCSS
$custom: #234e0c;
$custom-light: #638051;
$custom-dark: #000000;
JSON
{
  "hex": "#234e0c",
  "rgb": {
    "r": 35,
    "g": 78,
    "b": 12
  },
  "hsl": {
    "h": 99.091,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37857,
    "c": 0.10505,
    "h": 137.3
  },
  "luminance": 0.05833
}

Semantic roles & 50–950 ramp

primary
#234E0C
secondary
#692C8A
accent
#38F0B0
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #234E0C

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

Preview Lab → · Contrast checker → · Palette generator →

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