#2A370F#2A370F

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

Color values

HEX#2A370F
RGBrgb(42, 55, 15)
HSLhsl(80, 57%, 14%)
HSVhsv(80, 73%, 22%)
CMYKcmyk(23.6%, 0%, 72.7%, 78.4%)
CIE-LABlab(21.05, -12.87, 22.65)
CIE-LCHlch(21.05, 26.05, 119.61°)
OKLaboklab(31.5% -0.0368 0.0521)
OKLCHoklch(31.5% 0.064 125.2)
XYZxyz(2.4073, 3.2591, 0.9541)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A370F #1C0F37
analogous
#37300F #2A370F #16370F
triadic
#2A370F #0F2A37 #370F2A
tetradic
#2A370F #0F3730 #1C0F37 #370F16
square
#2A370F #0F3730 #1C0F37 #370F16
split-complementary
#2A370F #0F1637 #300F37
monochromatic
#121807 #121807 #2A370F #4F671C #739729

Accessibility & contrast

On white

12.71
#2A370F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A370F
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A370F#FFFFFF#000000##FFFFFF
##2A370F1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A330A
Deuteranopia (green-blind)
#393212
Tritanopia (blue-blind)
#2C342F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2a370f;
/* rgb */ color: rgb(42, 55, 15);
/* oklch */ color: oklch(31.5% 0.064 125.2);
Tailwind
colors: {
  custom: {
    50: '#656d4f',
    500: '#2a370f',
    950: '#000000',
  },
}
SCSS
$custom: #2a370f;
$custom-light: #656d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a370f",
  "rgb": {
    "r": 42,
    "g": 55,
    "b": 15
  },
  "hsl": {
    "h": 79.5,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31501,
    "c": 0.06376,
    "h": 125.2
  },
  "luminance": 0.03259
}

Semantic roles & 50–950 ramp

primary
#2A370F
secondary
#463171
accent
#47E079
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2A370F

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

Preview Lab → · Contrast checker → · Palette generator →

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