#2D300F#2D300F

#2D300F is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.8% C 0.051 H 113.9°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#2D300F
RGBrgb(45, 48, 15)
HSLhsl(65, 52%, 12%)
HSVhsv(65, 69%, 19%)
CMYKcmyk(6.2%, 0%, 68.7%, 81.2%)
CIE-LABlab(18.83, -7.08, 20.20)
CIE-LCHlch(18.83, 21.41, 109.30°)
OKLaboklab(29.78% -0.0208 0.047)
OKLCHoklch(29.78% 0.051 113.9)
XYZxyz(2.2254, 2.7063, 0.8570)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D300F #120F30
analogous
#30230F #2D300F #1C300F
triadic
#2D300F #0F2D30 #300F2D
tetradic
#2D300F #0F3023 #120F30 #300F1C
square
#2D300F #0F3023 #120F30 #300F1C
split-complementary
#2D300F #0F1C30 #230F30
monochromatic
#161707 #161707 #2D300F #595F1E #848D2C

Accessibility & contrast

On white

13.63
#2D300F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2D300F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D300F
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D300F#FFFFFF#000000##FFFFFF
##2D300F1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D0B
Deuteranopia (green-blind)
#342E11
Tritanopia (blue-blind)
#302D29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2d300f;
/* rgb */ color: rgb(45, 48, 15);
/* oklch */ color: oklch(29.8% 0.051 113.9);
Tailwind
colors: {
  custom: {
    50: '#67684f',
    500: '#2d300f',
    950: '#000000',
  },
}
SCSS
$custom: #2d300f;
$custom-light: #67684f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d300f",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 15
  },
  "hsl": {
    "h": 65.455,
    "s": 52.381,
    "l": 12.353
  },
  "oklch": {
    "l": 0.29779,
    "c": 0.05134,
    "h": 113.9
  },
  "luminance": 0.02706
}

Semantic roles & 50–950 ramp

primary
#2D300F
secondary
#36316A
accent
#4CDC59
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2D300F

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

Preview Lab → · Contrast checker → · Palette generator →

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