#234F0F#234F0F

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

Color values

HEX#234F0F
RGBrgb(35, 79, 15)
HSLhsl(101, 68%, 18%)
HSVhsv(101, 81%, 31%)
CMYKcmyk(55.7%, 0%, 81%, 69%)
CIE-LABlab(29.37, -28.03, 31.17)
CIE-LCHlch(29.37, 41.92, 131.97°)
OKLaboklab(38.18% -0.0775 0.0701)
OKLCHoklch(38.18% 0.105 137.9)
XYZxyz(3.5752, 5.9835, 1.4184)
Luminance0.0598 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234F0F #3B0F4F
analogous
#434F0F #234F0F #0F4F1B
triadic
#234F0F #0F234F #4F0F23
tetradic
#234F0F #0F434F #3B0F4F #4F1B0F
square
#234F0F #0F434F #3B0F4F #4F1B0F
split-complementary
#234F0F #1B0F4F #4F0F43
monochromatic
#0B1A05 #0C1C05 #234F0F #3A8219 #51B623

Accessibility & contrast

On white

9.56
#234F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #234F0F
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234F0F#FFFFFF#000000##FFFFFF
##234F0F1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524704
Deuteranopia (green-blind)
#4C4416
Tritanopia (blue-blind)
#204C43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #234f0f;
/* rgb */ color: rgb(35, 79, 15);
/* oklch */ color: oklch(38.2% 0.105 137.9);
Tailwind
colors: {
  custom: {
    50: '#638152',
    500: '#234f0f',
    950: '#000000',
  },
}
SCSS
$custom: #234f0f;
$custom-light: #638152;
$custom-dark: #000000;
JSON
{
  "hex": "#234f0f",
  "rgb": {
    "r": 35,
    "g": 79,
    "b": 15
  },
  "hsl": {
    "h": 101.25,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38181,
    "c": 0.10454,
    "h": 137.9
  },
  "luminance": 0.05984
}

Semantic roles & 50–950 ramp

primary
#234F0F
secondary
#6E3189
accent
#3DEBB5
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #234F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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