#2B350F#2B350F

#2B350F is a dark, moderate yellow-green. Relative luminance 0.031; OKLCH L 31.0% C 0.060 H 122.4°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#2B350F
RGBrgb(43, 53, 15)
HSLhsl(76, 56%, 13%)
HSVhsv(76, 72%, 21%)
CMYKcmyk(18.9%, 0%, 71.7%, 79.2%)
CIE-LABlab(20.42, -11.20, 21.97)
CIE-LCHlch(20.42, 24.66, 117.00°)
OKLaboklab(31.01% -0.0322 0.0507)
OKLCHoklch(31.01% 0.06 122.4)
XYZxyz(2.3556, 3.0943, 0.9250)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B350F #190F35
analogous
#352C0F #2B350F #18350F
triadic
#2B350F #0F2B35 #350F2B
tetradic
#2B350F #0F352C #190F35 #350F18
square
#2B350F #0F352C #190F35 #350F18
split-complementary
#2B350F #0F1835 #2C0F35
monochromatic
#131807 #131807 #2B350F #52651C #78942A

Accessibility & contrast

On white

12.97
#2B350F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2B350F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B350F
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B350F#FFFFFF#000000##FFFFFF
##2B350F1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38310B
Deuteranopia (green-blind)
#373112
Tritanopia (blue-blind)
#2D322D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b350f;
/* rgb */ color: rgb(43, 53, 15);
/* oklch */ color: oklch(31.0% 0.060 122.4);
Tailwind
colors: {
  custom: {
    50: '#666c4f',
    500: '#2b350f',
    950: '#000000',
  },
}
SCSS
$custom: #2b350f;
$custom-light: #666c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b350f",
  "rgb": {
    "r": 43,
    "g": 53,
    "b": 15
  },
  "hsl": {
    "h": 75.789,
    "s": 55.882,
    "l": 13.333
  },
  "oklch": {
    "l": 0.3101,
    "c": 0.06,
    "h": 122.4
  },
  "luminance": 0.03094
}

Semantic roles & 50–950 ramp

primary
#2B350F
secondary
#41316F
accent
#49DF70
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2B350F

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

Preview Lab → · Contrast checker → · Palette generator →

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