#2A3601#2A3601

#2A3601 is a dark, moderate yellow-green. Relative luminance 0.031; OKLCH L 31.1% C 0.075 H 122.4°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#2A3601
RGBrgb(42, 54, 1)
HSLhsl(74, 96%, 11%)
HSVhsv(74, 98%, 21%)
CMYKcmyk(22.2%, 0%, 98.1%, 78.8%)
CIE-LABlab(20.57, -13.43, 28.12)
CIE-LCHlch(20.57, 31.16, 115.53°)
OKLaboklab(31.07% -0.04 0.063)
OKLCHoklch(31.07% 0.075 122.4)
XYZxyz(2.2795, 3.1328, 0.5133)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3601 #0D0136
analogous
#362701 #2A3601 #0F3601
triadic
#2A3601 #012A36 #36012A
tetradic
#2A3601 #013627 #0D0136 #36010F
square
#2A3601 #013627 #0D0136 #36010F
split-complementary
#2A3601 #010F36 #270136
monochromatic
#171E01 #171E01 #2A3601 #597202 #87AE03

Accessibility & contrast

On white

12.91
#2A3601 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2A3601 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3601
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3601#FFFFFF#000000##FFFFFF
##2A36011.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3200
Deuteranopia (green-blind)
#383205
Tritanopia (blue-blind)
#2D332C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a3601;
/* rgb */ color: rgb(42, 54, 1);
/* oklch */ color: oklch(31.1% 0.075 122.4);
Tailwind
colors: {
  custom: {
    50: '#656d48',
    500: '#2a3601',
    950: '#000000',
  },
}
SCSS
$custom: #2a3601;
$custom-light: #656d48;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3601",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 1
  },
  "hsl": {
    "h": 73.585,
    "s": 96.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.3107,
    "c": 0.07465,
    "h": 122.4
  },
  "luminance": 0.03133
}

Semantic roles & 50–950 ramp

primary
#2A3601
secondary
#2E187B
accent
#29FF59
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060700
muted
#7A7A77

Preview Lab

Preview with #2A3601

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

Preview Lab → · Contrast checker → · Palette generator →

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