#2D3101#2D3101

#2D3101 is a dark, moderate yellow. Relative luminance 0.028; OKLCH L 29.9% C 0.067 H 114.6°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#2D3101
RGBrgb(45, 49, 1)
HSLhsl(65, 96%, 10%)
HSVhsv(65, 98%, 19%)
CMYKcmyk(8.2%, 0%, 98%, 80.8%)
CIE-LABlab(19.04, -8.85, 26.46)
CIE-LCHlch(19.04, 27.90, 108.49°)
OKLaboklab(29.91% -0.0277 0.0605)
OKLCHoklch(29.91% 0.067 114.6)
XYZxyz(2.1861, 2.7567, 0.4457)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3101 #050131
analogous
#311D01 #2D3101 #153101
triadic
#2D3101 #012D31 #31012D
tetradic
#2D3101 #01311D #050131 #310115
square
#2D3101 #01311D #050131 #310115
split-complementary
#2D3101 #011531 #1D0131
monochromatic
#1C1E01 #1C1E01 #2D3101 #646D02 #9BA903

Accessibility & contrast

On white

13.54
#2D3101 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2D3101 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3101
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3101#FFFFFF#000000##FFFFFF
##2D31011.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362E00
Deuteranopia (green-blind)
#352F04
Tritanopia (blue-blind)
#312D28
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d3101;
/* rgb */ color: rgb(45, 49, 1);
/* oklch */ color: oklch(29.9% 0.067 114.6);
Tailwind
colors: {
  custom: {
    50: '#686847',
    500: '#2d3101',
    950: '#000000',
  },
}
SCSS
$custom: #2d3101;
$custom-light: #686847;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3101",
  "rgb": {
    "r": 45,
    "g": 49,
    "b": 1
  },
  "hsl": {
    "h": 65,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.29907,
    "c": 0.0665,
    "h": 114.6
  },
  "luminance": 0.02757
}

Semantic roles & 50–950 ramp

primary
#2D3101
secondary
#1F1777
accent
#29FF3B
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2D3101

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

Preview Lab → · Contrast checker → · Palette generator →

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