#2B3108#2B3108

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

Color values

HEX#2B3108
RGBrgb(43, 49, 8)
HSLhsl(69, 72%, 11%)
HSVhsv(69, 84%, 19%)
CMYKcmyk(12.2%, 0%, 83.7%, 80.8%)
CIE-LABlab(18.92, -9.36, 23.41)
CIE-LCHlch(18.92, 25.22, 111.79°)
OKLaboklab(29.78% -0.0279 0.0537)
OKLCHoklch(29.78% 0.061 117.5)
XYZxyz(2.1385, 2.7278, 0.6435)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3108 #0E0831
analogous
#312208 #2B3108 #163108
triadic
#2B3108 #082B31 #31082B
tetradic
#2B3108 #083122 #0E0831 #310816
square
#2B3108 #083122 #0E0831 #310816
split-complementary
#2B3108 #081631 #220831
monochromatic
#171A04 #171A04 #2B3108 #596611 #879A19

Accessibility & contrast

On white

13.59
#2B3108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3108
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3108#FFFFFF#000000##FFFFFF
##2B31081.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b3108;
/* rgb */ color: rgb(43, 49, 8);
/* oklch */ color: oklch(29.8% 0.061 117.5);
Tailwind
colors: {
  custom: {
    50: '#66694b',
    500: '#2b3108',
    950: '#000000',
  },
}
SCSS
$custom: #2b3108;
$custom-light: #66694b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3108",
  "rgb": {
    "r": 43,
    "g": 49,
    "b": 8
  },
  "hsl": {
    "h": 68.78,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.29782,
    "c": 0.06054,
    "h": 117.5
  },
  "luminance": 0.02728
}

Semantic roles & 50–950 ramp

primary
#2B3108
secondary
#302570
accent
#39EF54
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B3108

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

Preview Lab → · Contrast checker → · Palette generator →

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