#2B370D#2B370D

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

Color values

HEX#2B370D
RGBrgb(43, 55, 13)
HSLhsl(77, 62%, 13%)
HSVhsv(77, 76%, 22%)
CMYKcmyk(21.8%, 0%, 76.4%, 78.4%)
CIE-LABlab(21.11, -12.57, 23.75)
CIE-LCHlch(21.11, 26.87, 117.89°)
OKLaboklab(31.56% -0.0362 0.0541)
OKLCHoklch(31.56% 0.065 123.8)
XYZxyz(2.4351, 3.2750, 0.8845)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B370D #190D37
analogous
#372E0D #2B370D #16370D
triadic
#2B370D #0D2B37 #370D2B
tetradic
#2B370D #0D372E #190D37 #370D16
square
#2B370D #0D372E #190D37 #370D16
split-complementary
#2B370D #0D1637 #2E0D37
monochromatic
#131906 #131906 #2B370D #526819 #789A24

Accessibility & contrast

On white

12.69
#2B370D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B370D
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B370D#FFFFFF#000000##FFFFFF
##2B370D1.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3308
Deuteranopia (green-blind)
#393310
Tritanopia (blue-blind)
#2D342E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b370d;
/* rgb */ color: rgb(43, 55, 13);
/* oklch */ color: oklch(31.6% 0.065 123.8);
Tailwind
colors: {
  custom: {
    50: '#666d4e',
    500: '#2b370d',
    950: '#000000',
  },
}
SCSS
$custom: #2b370d;
$custom-light: #666d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b370d",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 13
  },
  "hsl": {
    "h": 77.143,
    "s": 61.765,
    "l": 13.333
  },
  "oklch": {
    "l": 0.31564,
    "c": 0.06514,
    "h": 123.8
  },
  "luminance": 0.03275
}

Semantic roles & 50–950 ramp

primary
#2B370D
secondary
#412D72
accent
#43E571
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B370D

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

Preview Lab → · Contrast checker → · Palette generator →

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