#2B3107#2B3107

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

Color values

HEX#2B3107
RGBrgb(43, 49, 7)
HSLhsl(69, 75%, 11%)
HSVhsv(69, 86%, 19%)
CMYKcmyk(12.2%, 0%, 85.7%, 80.8%)
CIE-LABlab(18.91, -9.44, 23.81)
CIE-LCHlch(18.91, 25.61, 111.63°)
OKLaboklab(29.77% -0.0283 0.0546)
OKLCHoklch(29.77% 0.061 117.4)
XYZxyz(2.1330, 2.7256, 0.6147)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3107 #0D0731
analogous
#312207 #2B3107 #163107
triadic
#2B3107 #072B31 #31072B
tetradic
#2B3107 #073122 #0D0731 #310716
square
#2B3107 #073122 #0D0731 #310716
split-complementary
#2B3107 #071631 #220731
monochromatic
#171B04 #171B04 #2B3107 #5A670F #899C16

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B3107#FFFFFF#000000##FFFFFF
##2B31071.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)
#352E02
Deuteranopia (green-blind)
#342E0A
Tritanopia (blue-blind)
#2E2E29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2b3107;
/* rgb */ color: rgb(43, 49, 7);
/* oklch */ color: oklch(29.8% 0.061 117.4);
Tailwind
colors: {
  custom: {
    50: '#66694a',
    500: '#2b3107',
    950: '#000000',
  },
}
SCSS
$custom: #2b3107;
$custom-light: #66694a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3107",
  "rgb": {
    "r": 43,
    "g": 49,
    "b": 7
  },
  "hsl": {
    "h": 68.571,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.29771,
    "c": 0.06149,
    "h": 117.4
  },
  "luminance": 0.02726
}

Semantic roles & 50–950 ramp

primary
#2B3107
secondary
#2E2371
accent
#36F251
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B3107

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

Preview Lab → · Contrast checker → · Palette generator →

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