#2B390F#2B390F

#2B390F is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.2% C 0.066 H 125.7°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#2B390F
RGBrgb(43, 57, 15)
HSLhsl(80, 58%, 14%)
HSVhsv(80, 74%, 22%)
CMYKcmyk(24.6%, 0%, 73.7%, 77.6%)
CIE-LABlab(21.85, -13.56, 23.54)
CIE-LCHlch(21.85, 27.17, 119.93°)
OKLaboklab(32.17% -0.0387 0.054)
OKLCHoklch(32.17% 0.066 125.7)
XYZxyz(2.5456, 3.4743, 0.9883)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B390F #1D0F39
analogous
#39320F #2B390F #16390F
triadic
#2B390F #0F2B39 #390F2B
tetradic
#2B390F #0F3932 #1D0F39 #390F16
square
#2B390F #0F3932 #1D0F39 #390F16
split-complementary
#2B390F #0F1639 #320F39
monochromatic
#121806 #121806 #2B390F #50691C #749A29

Accessibility & contrast

On white

12.39
#2B390F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2B390F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B390F
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B390F#FFFFFF#000000##FFFFFF
##2B390F1.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C350A
Deuteranopia (green-blind)
#3A3412
Tritanopia (blue-blind)
#2D3630
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b390f;
/* rgb */ color: rgb(43, 57, 15);
/* oklch */ color: oklch(32.2% 0.066 125.7);
Tailwind
colors: {
  custom: {
    50: '#666f4f',
    500: '#2b390f',
    950: '#000000',
  },
}
SCSS
$custom: #2b390f;
$custom-light: #666f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b390f",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 15
  },
  "hsl": {
    "h": 80,
    "s": 58.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32167,
    "c": 0.06641,
    "h": 125.7
  },
  "luminance": 0.03474
}

Semantic roles & 50–950 ramp

primary
#2B390F
secondary
#473073
accent
#46E27A
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2B390F

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

Preview Lab → · Contrast checker → · Palette generator →

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