#2B3105#2B3105

#2B3105 is a dark, moderate yellow. Relative luminance 0.027; OKLCH L 29.8% C 0.063 H 117.2°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#2B3105
RGBrgb(43, 49, 5)
HSLhsl(68, 81%, 11%)
HSVhsv(68, 90%, 19%)
CMYKcmyk(12.2%, 0%, 89.8%, 80.8%)
CIE-LABlab(18.89, -9.60, 24.60)
CIE-LCHlch(18.89, 26.41, 111.32°)
OKLaboklab(29.75% -0.029 0.0564)
OKLCHoklch(29.75% 0.063 117.2)
XYZxyz(2.1220, 2.7212, 0.5570)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3105 #0B0531
analogous
#312105 #2B3105 #153105
triadic
#2B3105 #052B31 #31052B
tetradic
#2B3105 #053121 #0B0531 #310515
square
#2B3105 #053121 #0B0531 #310515
split-complementary
#2B3105 #051531 #210531
monochromatic
#181C03 #181C03 #2B3105 #5C690B #8CA010

Accessibility & contrast

On white

13.60
#2B3105 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3105
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3105#FFFFFF#000000##FFFFFF
##2B31051.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E00
Deuteranopia (green-blind)
#342E08
Tritanopia (blue-blind)
#2E2E29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2b3105;
/* rgb */ color: rgb(43, 49, 5);
/* oklch */ color: oklch(29.8% 0.063 117.2);
Tailwind
colors: {
  custom: {
    50: '#666949',
    500: '#2b3105',
    950: '#000000',
  },
}
SCSS
$custom: #2b3105;
$custom-light: #666949;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3105",
  "rgb": {
    "r": 43,
    "g": 49,
    "b": 5
  },
  "hsl": {
    "h": 68.182,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.2975,
    "c": 0.06341,
    "h": 117.2
  },
  "luminance": 0.02721
}

Semantic roles & 50–950 ramp

primary
#2B3105
secondary
#2B1F72
accent
#30F84B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B3105

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

Preview Lab → · Contrast checker → · Palette generator →

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