#2C390F#2C390F

#2C390F is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.3% C 0.066 H 124.7°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#2C390F
RGBrgb(44, 57, 15)
HSLhsl(79, 58%, 14%)
HSVhsv(79, 74%, 22%)
CMYKcmyk(22.8%, 0%, 73.7%, 77.6%)
CIE-LABlab(21.93, -13.07, 23.65)
CIE-LCHlch(21.93, 27.02, 118.93°)
OKLaboklab(32.25% -0.0374 0.0542)
OKLCHoklch(32.25% 0.066 124.7)
XYZxyz(2.5881, 3.4962, 0.9903)
Luminance0.0350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C390F #1C0F39
analogous
#39310F #2C390F #17390F
triadic
#2C390F #0F2C39 #390F2C
tetradic
#2C390F #0F3931 #1C0F39 #390F17
square
#2C390F #0F3931 #1C0F39 #390F17
split-complementary
#2C390F #0F1739 #310F39
monochromatic
#131806 #131806 #2C390F #51691C #779A29

Accessibility & contrast

On white

12.36
#2C390F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2C390F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C390F
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C390F#FFFFFF#000000##FFFFFF
##2C390F1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D350A
Deuteranopia (green-blind)
#3B3412
Tritanopia (blue-blind)
#2E3630
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c390f;
/* rgb */ color: rgb(44, 57, 15);
/* oklch */ color: oklch(32.3% 0.066 124.7);
Tailwind
colors: {
  custom: {
    50: '#676f4f',
    500: '#2c390f',
    950: '#000000',
  },
}
SCSS
$custom: #2c390f;
$custom-light: #676f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c390f",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 15
  },
  "hsl": {
    "h": 78.571,
    "s": 58.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32251,
    "c": 0.06586,
    "h": 124.7
  },
  "luminance": 0.03496
}

Semantic roles & 50–950 ramp

primary
#2C390F
secondary
#453073
accent
#46E276
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2C390F

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

Preview Lab → · Contrast checker → · Palette generator →

#2C390F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva