#2B370F#2B370F

#2B370F is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.6% C 0.063 H 124.1°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#2B370F
RGBrgb(43, 55, 15)
HSLhsl(78, 57%, 14%)
HSVhsv(78, 73%, 22%)
CMYKcmyk(21.8%, 0%, 72.7%, 78.4%)
CIE-LABlab(21.13, -12.39, 22.76)
CIE-LCHlch(21.13, 25.91, 118.55°)
OKLaboklab(31.59% -0.0355 0.0523)
OKLCHoklch(31.59% 0.063 124.1)
XYZxyz(2.4487, 3.2804, 0.9560)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B370F #1B0F37
analogous
#372F0F #2B370F #17370F
triadic
#2B370F #0F2B37 #370F2B
tetradic
#2B370F #0F372F #1B0F37 #370F17
square
#2B370F #0F372F #1B0F37 #370F17
split-complementary
#2B370F #0F1737 #2F0F37
monochromatic
#131807 #131807 #2B370F #51671C #769729

Accessibility & contrast

On white

12.68
#2B370F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2B370F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B370F
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B370F#FFFFFF#000000##FFFFFF
##2B370F1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A330A
Deuteranopia (green-blind)
#393312
Tritanopia (blue-blind)
#2D342F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b370f;
/* rgb */ color: rgb(43, 55, 15);
/* oklch */ color: oklch(31.6% 0.063 124.1);
Tailwind
colors: {
  custom: {
    50: '#666d4f',
    500: '#2b370f',
    950: '#000000',
  },
}
SCSS
$custom: #2b370f;
$custom-light: #666d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b370f",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 15
  },
  "hsl": {
    "h": 78,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31587,
    "c": 0.06321,
    "h": 124.1
  },
  "luminance": 0.0328
}

Semantic roles & 50–950 ramp

primary
#2B370F
secondary
#443171
accent
#47E075
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2B370F

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

Preview Lab → · Contrast checker → · Palette generator →

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