#2C380F#2C380F

#2C380F is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 32.0% C 0.064 H 123.9°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#2C380F
RGBrgb(44, 56, 15)
HSLhsl(78, 58%, 14%)
HSVhsv(78, 73%, 22%)
CMYKcmyk(21.4%, 0%, 73.2%, 78%)
CIE-LABlab(21.57, -12.48, 23.26)
CIE-LCHlch(21.57, 26.40, 118.22°)
OKLaboklab(31.96% -0.0358 0.0534)
OKLCHoklch(31.96% 0.064 123.9)
XYZxyz(2.5391, 3.3983, 0.9740)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C380F #1B0F38
analogous
#38300F #2C380F #18380F
triadic
#2C380F #0F2C38 #380F2C
tetradic
#2C380F #0F3830 #1B0F38 #380F18
square
#2C380F #0F3830 #1B0F38 #380F18
split-complementary
#2C380F #0F1838 #300F38
monochromatic
#131806 #131806 #2C380F #52681C #789929

Accessibility & contrast

On white

12.50
#2C380F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2C380F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C380F
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C380F#FFFFFF#000000##FFFFFF
##2C380F1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C340A
Deuteranopia (green-blind)
#3A3412
Tritanopia (blue-blind)
#2E352F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c380f;
/* rgb */ color: rgb(44, 56, 15);
/* oklch */ color: oklch(32.0% 0.064 123.9);
Tailwind
colors: {
  custom: {
    50: '#666e4f',
    500: '#2c380f',
    950: '#000000',
  },
}
SCSS
$custom: #2c380f;
$custom-light: #666e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c380f",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 15
  },
  "hsl": {
    "h": 77.561,
    "s": 57.746,
    "l": 13.922
  },
  "oklch": {
    "l": 0.31963,
    "c": 0.06426,
    "h": 123.9
  },
  "luminance": 0.03398
}

Semantic roles & 50–950 ramp

primary
#2C380F
secondary
#443072
accent
#47E174
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2C380F

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

Preview Lab → · Contrast checker → · Palette generator →

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