#2A370D#2A370D

#2A370D is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.5% C 0.066 H 124.8°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#2A370D
RGBrgb(42, 55, 13)
HSLhsl(79, 62%, 13%)
HSVhsv(79, 76%, 22%)
CMYKcmyk(23.6%, 0%, 76.4%, 78.4%)
CIE-LABlab(21.03, -13.06, 23.64)
CIE-LCHlch(21.03, 27.01, 118.93°)
OKLaboklab(31.48% -0.0375 0.0539)
OKLCHoklch(31.48% 0.066 124.8)
XYZxyz(2.3937, 3.2537, 0.8826)
Luminance0.0325 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A370D #1A0D37
analogous
#372F0D #2A370D #15370D
triadic
#2A370D #0D2A37 #370D2A
tetradic
#2A370D #0D372F #1A0D37 #370D15
square
#2A370D #0D372F #1A0D37 #370D15
split-complementary
#2A370D #0D1537 #2F0D37
monochromatic
#131906 #131906 #2A370D #506819 #769A24

Accessibility & contrast

On white

12.72
#2A370D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2A370D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A370D
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A370D#FFFFFF#000000##FFFFFF
##2A370D1.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3308
Deuteranopia (green-blind)
#393210
Tritanopia (blue-blind)
#2C342E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2a370d;
/* rgb */ color: rgb(42, 55, 13);
/* oklch */ color: oklch(31.5% 0.066 124.8);
Tailwind
colors: {
  custom: {
    50: '#656d4e',
    500: '#2a370d',
    950: '#000000',
  },
}
SCSS
$custom: #2a370d;
$custom-light: #656d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a370d",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 13
  },
  "hsl": {
    "h": 78.571,
    "s": 61.765,
    "l": 13.333
  },
  "oklch": {
    "l": 0.31478,
    "c": 0.06569,
    "h": 124.8
  },
  "luminance": 0.03254
}

Semantic roles & 50–950 ramp

primary
#2A370D
secondary
#432D72
accent
#43E575
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A370D

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

Preview Lab → · Contrast checker → · Palette generator →

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