#2B4014#2B4014

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

Color values

HEX#2B4014
RGBrgb(43, 64, 20)
HSLhsl(89, 52%, 16%)
HSVhsv(89, 69%, 25%)
CMYKcmyk(32.8%, 0%, 68.8%, 74.9%)
CIE-LABlab(24.42, -16.99, 23.72)
CIE-LCHlch(24.42, 29.17, 125.62°)
OKLaboklab(34.27% -0.0476 0.0551)
OKLCHoklch(34.27% 0.073 130.9)
XYZxyz(2.9559, 4.2308, 1.3226)
Luminance0.0423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4014 #291440
analogous
#403F14 #2B4014 #154014
triadic
#2B4014 #142B40 #40142B
tetradic
#2B4014 #14403F #291440 #401415
square
#2B4014 #14403F #291440 #401415
split-complementary
#2B4014 #141540 #3F1440
monochromatic
#101707 #101707 #2B4014 #4A6F23 #6A9D31

Accessibility & contrast

On white

11.37
#2B4014 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B4014
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4014#FFFFFF#000000##FFFFFF
##2B40141.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0F
Deuteranopia (green-blind)
#403917
Tritanopia (blue-blind)
#2C3D37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b4014;
/* rgb */ color: rgb(43, 64, 20);
/* oklch */ color: oklch(34.3% 0.073 130.9);
Tailwind
colors: {
  custom: {
    50: '#667553',
    500: '#2b4014',
    950: '#000000',
  },
}
SCSS
$custom: #2b4014;
$custom-light: #667553;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4014",
  "rgb": {
    "r": 43,
    "g": 64,
    "b": 20
  },
  "hsl": {
    "h": 88.636,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.34266,
    "c": 0.07281,
    "h": 130.9
  },
  "luminance": 0.04231
}

Semantic roles & 50–950 ramp

primary
#2B4014
secondary
#563878
accent
#4CDC91
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2B4014

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

Preview Lab → · Contrast checker → · Palette generator →

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