#2A4313#2A4313

#2A4313 is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.1% C 0.079 H 132.6°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#2A4313
RGBrgb(42, 67, 19)
HSLhsl(91, 56%, 17%)
HSVhsv(91, 72%, 26%)
CMYKcmyk(37.3%, 0%, 71.6%, 73.7%)
CIE-LABlab(25.42, -19.15, 25.33)
CIE-LCHlch(25.42, 31.75, 127.09°)
OKLaboklab(35.06% -0.0536 0.0584)
OKLCHoklch(35.06% 0.079 132.6)
XYZxyz(3.0795, 4.5535, 1.3326)
Luminance0.0455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4313 #2C1343
analogous
#424313 #2A4313 #134314
triadic
#2A4313 #132A43 #43132A
tetradic
#2A4313 #134243 #2C1343 #431413
square
#2A4313 #134243 #2C1343 #431413
split-complementary
#2A4313 #141343 #431342
monochromatic
#0F1807 #0F1807 #2A4313 #487321 #66A22E

Accessibility & contrast

On white

10.99
#2A4313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2A4313 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4313
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4313#FFFFFF#000000##FFFFFF
##2A43131.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E0D
Deuteranopia (green-blind)
#433C17
Tritanopia (blue-blind)
#2A4039
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a4313;
/* rgb */ color: rgb(42, 67, 19);
/* oklch */ color: oklch(35.1% 0.079 132.6);
Tailwind
colors: {
  custom: {
    50: '#667753',
    500: '#2a4313',
    950: '#000000',
  },
}
SCSS
$custom: #2a4313;
$custom-light: #667753;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4313",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 19
  },
  "hsl": {
    "h": 91.25,
    "s": 55.814,
    "l": 16.863
  },
  "oklch": {
    "l": 0.3506,
    "c": 0.07925,
    "h": 132.6
  },
  "luminance": 0.04554
}

Semantic roles & 50–950 ramp

primary
#2A4313
secondary
#5A367C
accent
#49DF97
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A4313

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

Preview Lab → · Contrast checker → · Palette generator →

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