#2D3401#2D3401

#2D3401 is a dark, moderate yellow. Relative luminance 0.030; OKLCH L 30.8% C 0.070 H 117.7°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#2D3401
RGBrgb(45, 52, 1)
HSLhsl(68, 96%, 10%)
HSVhsv(68, 98%, 20%)
CMYKcmyk(13.5%, 0%, 98.1%, 79.6%)
CIE-LABlab(20.11, -10.69, 27.68)
CIE-LCHlch(20.11, 29.67, 111.12°)
OKLaboklab(30.76% -0.0327 0.0623)
OKLCHoklch(30.76% 0.07 117.7)
XYZxyz(2.3157, 3.0161, 0.4889)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3401 #080134
analogous
#342101 #2D3401 #133401
triadic
#2D3401 #012D34 #34012D
tetradic
#2D3401 #013421 #080134 #340113
square
#2D3401 #013421 #080134 #340113
split-complementary
#2D3401 #011334 #210134
monochromatic
#1A1E01 #1A1E01 #2D3401 #617002 #95AC03

Accessibility & contrast

On white

13.10
#2D3401 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2D3401 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3401
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3401#FFFFFF#000000##FFFFFF
##2D34011.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383000
Deuteranopia (green-blind)
#383105
Tritanopia (blue-blind)
#31302B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d3401;
/* rgb */ color: rgb(45, 52, 1);
/* oklch */ color: oklch(30.8% 0.070 117.7);
Tailwind
colors: {
  custom: {
    50: '#686b48',
    500: '#2d3401',
    950: '#000000',
  },
}
SCSS
$custom: #2d3401;
$custom-light: #686b48;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3401",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 1
  },
  "hsl": {
    "h": 68.235,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.30764,
    "c": 0.07039,
    "h": 117.7
  },
  "luminance": 0.03016
}

Semantic roles & 50–950 ramp

primary
#2D3401
secondary
#251879
accent
#29FF46
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2D3401

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

Preview Lab → · Contrast checker → · Palette generator →

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