#2D3107#2D3107

#2D3107 is a dark, moderate yellow. Relative luminance 0.028; OKLCH L 30.0% C 0.061 H 114.8°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#2D3107
RGBrgb(45, 49, 7)
HSLhsl(66, 75%, 11%)
HSVhsv(66, 86%, 19%)
CMYKcmyk(8.2%, 0%, 85.7%, 80.8%)
CIE-LABlab(19.10, -8.38, 24.08)
CIE-LCHlch(19.10, 25.49, 109.19°)
OKLaboklab(29.97% -0.0255 0.055)
OKLCHoklch(29.97% 0.061 114.8)
XYZxyz(2.2189, 2.7699, 0.6187)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3107 #0B0731
analogous
#312007 #2D3107 #183107
triadic
#2D3107 #072D31 #31072D
tetradic
#2D3107 #073120 #0B0731 #310718
square
#2D3107 #073120 #0B0731 #310718
split-complementary
#2D3107 #071831 #200731
monochromatic
#191B04 #191B04 #2D3107 #5E670F #8F9C16

Accessibility & contrast

On white

13.51
#2D3107 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3107
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3107#FFFFFF#000000##FFFFFF
##2D31071.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E02
Deuteranopia (green-blind)
#352F0A
Tritanopia (blue-blind)
#312E29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d3107;
/* rgb */ color: rgb(45, 49, 7);
/* oklch */ color: oklch(30.0% 0.061 114.8);
Tailwind
colors: {
  custom: {
    50: '#67684a',
    500: '#2d3107',
    950: '#000000',
  },
}
SCSS
$custom: #2d3107;
$custom-light: #67684a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3107",
  "rgb": {
    "r": 45,
    "g": 49,
    "b": 7
  },
  "hsl": {
    "h": 65.714,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.29969,
    "c": 0.06065,
    "h": 114.8
  },
  "luminance": 0.0277
}

Semantic roles & 50–950 ramp

primary
#2D3107
secondary
#2A2371
accent
#36F248
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2D3107

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

Preview Lab → · Contrast checker → · Palette generator →

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