#2B3106#2B3106

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

Color values

HEX#2B3106
RGBrgb(43, 49, 6)
HSLhsl(68, 78%, 11%)
HSVhsv(68, 88%, 19%)
CMYKcmyk(12.2%, 0%, 87.8%, 80.8%)
CIE-LABlab(18.90, -9.52, 24.21)
CIE-LCHlch(18.90, 26.01, 111.47°)
OKLaboklab(29.76% -0.0286 0.0555)
OKLCHoklch(29.76% 0.062 117.3)
XYZxyz(2.1275, 2.7234, 0.5859)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3106 #0C0631
analogous
#312106 #2B3106 #153106
triadic
#2B3106 #062B31 #31062B
tetradic
#2B3106 #063121 #0C0631 #310615
square
#2B3106 #063121 #0C0631 #310615
split-complementary
#2B3106 #061531 #210631
monochromatic
#181B03 #181B03 #2B3106 #5B680D #8B9E13

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B3106#FFFFFF#000000##FFFFFF
##2B31061.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)
#352E01
Deuteranopia (green-blind)
#342E09
Tritanopia (blue-blind)
#2E2E29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2b3106;
/* rgb */ color: rgb(43, 49, 6);
/* oklch */ color: oklch(29.8% 0.062 117.3);
Tailwind
colors: {
  custom: {
    50: '#66694a',
    500: '#2b3106',
    950: '#000000',
  },
}
SCSS
$custom: #2b3106;
$custom-light: #66694a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3106",
  "rgb": {
    "r": 43,
    "g": 49,
    "b": 6
  },
  "hsl": {
    "h": 68.372,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.29761,
    "c": 0.06244,
    "h": 117.3
  },
  "luminance": 0.02723
}

Semantic roles & 50–950 ramp

primary
#2B3106
secondary
#2C2172
accent
#33F54E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B3106

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

Preview Lab → · Contrast checker → · Palette generator →

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