#2D3001#2D3001

#2D3001 is a dark, moderate yellow. Relative luminance 0.027; OKLCH L 29.6% C 0.065 H 113.5°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#2D3001
RGBrgb(45, 48, 1)
HSLhsl(64, 96%, 10%)
HSVhsv(64, 98%, 19%)
CMYKcmyk(6.2%, 0%, 97.9%, 81.2%)
CIE-LABlab(18.69, -8.23, 26.04)
CIE-LCHlch(18.69, 27.31, 107.53°)
OKLaboklab(29.62% -0.026 0.0598)
OKLCHoklch(29.62% 0.065 113.5)
XYZxyz(2.1447, 2.6740, 0.4319)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3001 #040130
analogous
#301C01 #2D3001 #163001
triadic
#2D3001 #012D30 #30012D
tetradic
#2D3001 #01301C #040130 #300116
square
#2D3001 #01301C #040130 #300116
split-complementary
#2D3001 #011630 #1C0130
monochromatic
#1C1E01 #1C1E01 #2D3001 #656C02 #9DA803

Accessibility & contrast

On white

13.68
#2D3001 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2D3001 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3001
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3001#FFFFFF#000000##FFFFFF
##2D30011.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352D00
Deuteranopia (green-blind)
#352E04
Tritanopia (blue-blind)
#312C27
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2d3001;
/* rgb */ color: rgb(45, 48, 1);
/* oklch */ color: oklch(29.6% 0.065 113.5);
Tailwind
colors: {
  custom: {
    50: '#686847',
    500: '#2d3001',
    950: '#000000',
  },
}
SCSS
$custom: #2d3001;
$custom-light: #686847;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3001",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 1
  },
  "hsl": {
    "h": 63.83,
    "s": 95.918,
    "l": 9.608
  },
  "oklch": {
    "l": 0.29623,
    "c": 0.06524,
    "h": 113.5
  },
  "luminance": 0.02674
}

Semantic roles & 50–950 ramp

primary
#2D3001
secondary
#1D1776
accent
#29FF36
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2D3001

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

Preview Lab → · Contrast checker → · Palette generator →

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