#2C450F#2C450F

#2C450F is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.7% C 0.085 H 131.2°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#2C450F
RGBrgb(44, 69, 15)
HSLhsl(88, 64%, 16%)
HSVhsv(88, 78%, 27%)
CMYKcmyk(36.2%, 0%, 78.3%, 72.9%)
CIE-LABlab(26.23, -19.70, 28.16)
CIE-LCHlch(26.23, 34.37, 124.98°)
OKLaboklab(35.74% -0.0557 0.0637)
OKLCHoklch(35.74% 0.085 131.2)
XYZxyz(3.2530, 4.8261, 1.2120)
Luminance0.0483 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C450F #280F45
analogous
#45430F #2C450F #11450F
triadic
#2C450F #0F2C45 #450F2C
tetradic
#2C450F #0F4543 #280F45 #450F11
square
#2C450F #0F4543 #280F45 #450F11
split-complementary
#2C450F #0F1145 #430F45
monochromatic
#101905 #101905 #2C450F #4C771A #6CAA25

Accessibility & contrast

On white

10.69
#2C450F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2C450F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C450F
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C450F#FFFFFF#000000##FFFFFF
##2C450F1.0010.691.9710.69
#FFFFFF10.691.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F07
Deuteranopia (green-blind)
#453D14
Tritanopia (blue-blind)
#2D423A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c450f;
/* rgb */ color: rgb(44, 69, 15);
/* oklch */ color: oklch(35.7% 0.085 131.2);
Tailwind
colors: {
  custom: {
    50: '#687951',
    500: '#2c450f',
    950: '#000000',
  },
}
SCSS
$custom: #2c450f;
$custom-light: #687951;
$custom-dark: #000000;
JSON
{
  "hex": "#2c450f",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 15
  },
  "hsl": {
    "h": 87.778,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35743,
    "c": 0.08455,
    "h": 131.2
  },
  "luminance": 0.04826
}

Semantic roles & 50–950 ramp

primary
#2C450F
secondary
#55307F
accent
#41E78E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2C450F

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

Preview Lab → · Contrast checker → · Palette generator →

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