#2C370F#2C370F

#2C370F is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.7% C 0.063 H 123.1°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#2C370F
RGBrgb(44, 55, 15)
HSLhsl(77, 57%, 14%)
HSVhsv(77, 73%, 22%)
CMYKcmyk(20%, 0%, 72.7%, 78.4%)
CIE-LABlab(21.22, -11.89, 22.88)
CIE-LCHlch(21.22, 25.78, 117.47°)
OKLaboklab(31.67% -0.0342 0.0525)
OKLCHoklch(31.67% 0.063 123.1)
XYZxyz(2.4911, 3.3023, 0.9580)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C370F #1A0F37
analogous
#372E0F #2C370F #18370F
triadic
#2C370F #0F2C37 #370F2C
tetradic
#2C370F #0F372E #1A0F37 #370F18
square
#2C370F #0F372E #1A0F37 #370F18
split-complementary
#2C370F #0F1837 #2E0F37
monochromatic
#131807 #131807 #2C370F #52671C #799729

Accessibility & contrast

On white

12.65
#2C370F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2C370F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C370F
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C370F#FFFFFF#000000##FFFFFF
##2C370F1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B330A
Deuteranopia (green-blind)
#393312
Tritanopia (blue-blind)
#2E342F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2c370f;
/* rgb */ color: rgb(44, 55, 15);
/* oklch */ color: oklch(31.7% 0.063 123.1);
Tailwind
colors: {
  custom: {
    50: '#666d4f',
    500: '#2c370f',
    950: '#000000',
  },
}
SCSS
$custom: #2c370f;
$custom-light: #666d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c370f",
  "rgb": {
    "r": 44,
    "g": 55,
    "b": 15
  },
  "hsl": {
    "h": 76.5,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31675,
    "c": 0.06267,
    "h": 123.1
  },
  "luminance": 0.03302
}

Semantic roles & 50–950 ramp

primary
#2C370F
secondary
#423171
accent
#47E071
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2C370F

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

Preview Lab → · Contrast checker → · Palette generator →

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