#2B300F#2B300F

#2B300F is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.6% C 0.052 H 116.9°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#2B300F
RGBrgb(43, 48, 15)
HSLhsl(69, 52%, 12%)
HSVhsv(69, 69%, 19%)
CMYKcmyk(10.4%, 0%, 68.7%, 81.2%)
CIE-LABlab(18.64, -8.12, 19.93)
CIE-LCHlch(18.64, 21.52, 112.16°)
OKLaboklab(29.58% -0.0236 0.0464)
OKLCHoklch(29.58% 0.052 116.9)
XYZxyz(2.1395, 2.6620, 0.8530)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B300F #140F30
analogous
#30250F #2B300F #1B300F
triadic
#2B300F #0F2B30 #300F2B
tetradic
#2B300F #0F3025 #140F30 #300F1B
square
#2B300F #0F3025 #140F30 #300F1B
split-complementary
#2B300F #0F1B30 #250F30
monochromatic
#151707 #151707 #2B300F #555F1E #7F8D2C

Accessibility & contrast

On white

13.70
#2B300F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B300F
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B300F#FFFFFF#000000##FFFFFF
##2B300F1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D0C
Deuteranopia (green-blind)
#332E11
Tritanopia (blue-blind)
#2E2D29
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2b300f;
/* rgb */ color: rgb(43, 48, 15);
/* oklch */ color: oklch(29.6% 0.052 116.9);
Tailwind
colors: {
  custom: {
    50: '#65684e',
    500: '#2b300f',
    950: '#000000',
  },
}
SCSS
$custom: #2b300f;
$custom-light: #65684e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b300f",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 15
  },
  "hsl": {
    "h": 69.091,
    "s": 52.381,
    "l": 12.353
  },
  "oklch": {
    "l": 0.29578,
    "c": 0.05207,
    "h": 116.9
  },
  "luminance": 0.02662
}

Semantic roles & 50–950 ramp

primary
#2B300F
secondary
#3A316A
accent
#4CDC62
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2B300F

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

Preview Lab → · Contrast checker → · Palette generator →

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