#2B4013#2B4013

#2B4013 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.3% C 0.074 H 130.6°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#2B4013
RGBrgb(43, 64, 19)
HSLhsl(88, 54%, 16%)
HSVhsv(88, 70%, 25%)
CMYKcmyk(32.8%, 0%, 70.3%, 74.9%)
CIE-LABlab(24.41, -17.09, 24.24)
CIE-LCHlch(24.41, 29.66, 125.20°)
OKLaboklab(34.25% -0.048 0.056)
OKLCHoklch(34.25% 0.074 130.6)
XYZxyz(2.9472, 4.2273, 1.2766)
Luminance0.0423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4013 #281340
analogous
#403F13 #2B4013 #154013
triadic
#2B4013 #132B40 #40132B
tetradic
#2B4013 #13403F #281340 #401315
square
#2B4013 #13403F #281340 #401315
split-complementary
#2B4013 #131540 #3F1340
monochromatic
#101807 #101807 #2B4013 #4B6F21 #6A9E2F

Accessibility & contrast

On white

11.38
#2B4013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2B4013 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4013
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4013#FFFFFF#000000##FFFFFF
##2B40131.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0E
Deuteranopia (green-blind)
#403916
Tritanopia (blue-blind)
#2C3D36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b4013;
/* rgb */ color: rgb(43, 64, 19);
/* oklch */ color: oklch(34.3% 0.074 130.6);
Tailwind
colors: {
  custom: {
    50: '#667553',
    500: '#2b4013',
    950: '#000000',
  },
}
SCSS
$custom: #2b4013;
$custom-light: #667553;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4013",
  "rgb": {
    "r": 43,
    "g": 64,
    "b": 19
  },
  "hsl": {
    "h": 88,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34253,
    "c": 0.0738,
    "h": 130.6
  },
  "luminance": 0.04227
}

Semantic roles & 50–950 ramp

primary
#2B4013
secondary
#553679
accent
#4ADE8F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2B4013

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

Preview Lab → · Contrast checker → · Palette generator →

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