#2A370C#2A370C

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

Color values

HEX#2A370C
RGBrgb(42, 55, 12)
HSLhsl(78, 64%, 13%)
HSVhsv(78, 78%, 22%)
CMYKcmyk(23.6%, 0%, 78.2%, 78.4%)
CIE-LABlab(21.02, -13.15, 24.10)
CIE-LCHlch(21.02, 27.45, 118.62°)
OKLaboklab(31.47% -0.0379 0.0548)
OKLCHoklch(31.47% 0.067 124.6)
XYZxyz(2.3874, 3.2511, 0.8495)
Luminance0.0325 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A370C #190C37
analogous
#372E0C #2A370C #14370C
triadic
#2A370C #0C2A37 #370C2A
tetradic
#2A370C #0C372E #190C37 #370C14
square
#2A370C #0C372E #190C37 #370C14
split-complementary
#2A370C #0C1437 #2E0C37
monochromatic
#131905 #131905 #2A370C #506917 #779B22

Accessibility & contrast

On white

12.73
#2A370C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A370C
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A370C#FFFFFF#000000##FFFFFF
##2A370C1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3306
Deuteranopia (green-blind)
#39320F
Tritanopia (blue-blind)
#2C342E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2a370c;
/* rgb */ color: rgb(42, 55, 12);
/* oklch */ color: oklch(31.5% 0.067 124.6);
Tailwind
colors: {
  custom: {
    50: '#656d4d',
    500: '#2a370c',
    950: '#000000',
  },
}
SCSS
$custom: #2a370c;
$custom-light: #656d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a370c",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 12
  },
  "hsl": {
    "h": 78.14,
    "s": 64.179,
    "l": 13.137
  },
  "oklch": {
    "l": 0.31467,
    "c": 0.0666,
    "h": 124.6
  },
  "luminance": 0.03251
}

Semantic roles & 50–950 ramp

primary
#2A370C
secondary
#412C73
accent
#41E773
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2A370C

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

Preview Lab → · Contrast checker → · Palette generator →

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