#2B370C#2B370C

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

Color values

HEX#2B370C
RGBrgb(43, 55, 12)
HSLhsl(77, 64%, 13%)
HSVhsv(77, 78%, 22%)
CMYKcmyk(21.8%, 0%, 78.2%, 78.4%)
CIE-LABlab(21.10, -12.66, 24.21)
CIE-LCHlch(21.10, 27.32, 117.61°)
OKLaboklab(31.55% -0.0366 0.055)
OKLCHoklch(31.55% 0.066 123.6)
XYZxyz(2.4288, 3.2725, 0.8515)
Luminance0.0327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B370C #180C37
analogous
#372D0C #2B370C #15370C
triadic
#2B370C #0C2B37 #370C2B
tetradic
#2B370C #0C372D #180C37 #370C15
square
#2B370C #0C372D #180C37 #370C15
split-complementary
#2B370C #0C1537 #2D0C37
monochromatic
#141905 #141905 #2B370C #526917 #7A9B22

Accessibility & contrast

On white

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

On black

1.65
#2B370C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B370C#FFFFFF#000000##FFFFFF
##2B370C1.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3306
Deuteranopia (green-blind)
#39330F
Tritanopia (blue-blind)
#2D342E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b370c;
/* rgb */ color: rgb(43, 55, 12);
/* oklch */ color: oklch(31.6% 0.066 123.6);
Tailwind
colors: {
  custom: {
    50: '#666d4d',
    500: '#2b370c',
    950: '#000000',
  },
}
SCSS
$custom: #2b370c;
$custom-light: #666d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b370c",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 12
  },
  "hsl": {
    "h": 76.744,
    "s": 64.179,
    "l": 13.137
  },
  "oklch": {
    "l": 0.31553,
    "c": 0.06605,
    "h": 123.6
  },
  "luminance": 0.03273
}

Semantic roles & 50–950 ramp

primary
#2B370C
secondary
#402C73
accent
#41E76F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2B370C

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

Preview Lab → · Contrast checker → · Palette generator →

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