#2A3501#2A3501

#2A3501 is a dark, moderate yellow-green. Relative luminance 0.030; OKLCH L 30.8% C 0.073 H 121.6°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#2A3501
RGBrgb(42, 53, 1)
HSLhsl(73, 96%, 11%)
HSVhsv(73, 98%, 21%)
CMYKcmyk(20.8%, 0%, 98.1%, 79.2%)
CIE-LABlab(20.21, -12.85, 27.72)
CIE-LCHlch(20.21, 30.55, 114.87°)
OKLaboklab(30.78% -0.0384 0.0624)
OKLCHoklch(30.78% 0.073 121.6)
XYZxyz(2.2335, 3.0406, 0.4979)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3501 #0C0135
analogous
#352601 #2A3501 #103501
triadic
#2A3501 #012A35 #35012A
tetradic
#2A3501 #013526 #0C0135 #350110
square
#2A3501 #013526 #0C0135 #350110
split-complementary
#2A3501 #011035 #260135
monochromatic
#181E01 #181E01 #2A3501 #5A7102 #89AD03

Accessibility & contrast

On white

13.06
#2A3501 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2A3501 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3501
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3501#FFFFFF#000000##FFFFFF
##2A35011.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393100
Deuteranopia (green-blind)
#383105
Tritanopia (blue-blind)
#2D322C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2a3501;
/* rgb */ color: rgb(42, 53, 1);
/* oklch */ color: oklch(30.8% 0.073 121.6);
Tailwind
colors: {
  custom: {
    50: '#656c48',
    500: '#2a3501',
    950: '#000000',
  },
}
SCSS
$custom: #2a3501;
$custom-light: #656c48;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3501",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 1
  },
  "hsl": {
    "h": 72.692,
    "s": 96.296,
    "l": 10.588
  },
  "oklch": {
    "l": 0.30777,
    "c": 0.07328,
    "h": 121.6
  },
  "luminance": 0.03041
}

Semantic roles & 50–950 ramp

primary
#2A3501
secondary
#2D187A
accent
#29FF56
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2A3501

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

Preview Lab → · Contrast checker → · Palette generator →

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