#2A3401#2A3401

#2A3401 is a dark, moderate yellow-green. Relative luminance 0.029; OKLCH L 30.5% C 0.072 H 120.8°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#2A3401
RGBrgb(42, 52, 1)
HSLhsl(72, 96%, 10%)
HSVhsv(72, 98%, 20%)
CMYKcmyk(19.2%, 0%, 98.1%, 79.6%)
CIE-LABlab(19.84, -12.26, 27.31)
CIE-LCHlch(19.84, 29.93, 114.17°)
OKLaboklab(30.49% -0.0368 0.0618)
OKLCHoklch(30.49% 0.072 120.8)
XYZxyz(2.1884, 2.9504, 0.4829)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3401 #0B0134
analogous
#342401 #2A3401 #103401
triadic
#2A3401 #012A34 #34012A
tetradic
#2A3401 #013424 #0B0134 #340110
square
#2A3401 #013424 #0B0134 #340110
split-complementary
#2A3401 #011034 #240134
monochromatic
#181E01 #181E01 #2A3401 #5A7002 #8BAC03

Accessibility & contrast

On white

13.21
#2A3401 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2A3401 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3401
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3401#FFFFFF#000000##FFFFFF
##2A34011.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383000
Deuteranopia (green-blind)
#373005
Tritanopia (blue-blind)
#2D312B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2a3401;
/* rgb */ color: rgb(42, 52, 1);
/* oklch */ color: oklch(30.5% 0.072 120.8);
Tailwind
colors: {
  custom: {
    50: '#656b48',
    500: '#2a3401',
    950: '#000000',
  },
}
SCSS
$custom: #2a3401;
$custom-light: #656b48;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3401",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 1
  },
  "hsl": {
    "h": 71.765,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.30485,
    "c": 0.07192,
    "h": 120.8
  },
  "luminance": 0.0295
}

Semantic roles & 50–950 ramp

primary
#2A3401
secondary
#2B1879
accent
#29FF53
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2A3401

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

Preview Lab → · Contrast checker → · Palette generator →

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