#2B400E#2B400E

#2B400E is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.2% C 0.078 H 129.5°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#2B400E
RGBrgb(43, 64, 14)
HSLhsl(85, 64%, 15%)
HSVhsv(85, 78%, 25%)
CMYKcmyk(32.8%, 0%, 78.1%, 74.9%)
CIE-LABlab(24.36, -17.57, 26.68)
CIE-LCHlch(24.36, 31.94, 123.36°)
OKLaboklab(34.2% -0.0498 0.0604)
OKLCHoklch(34.2% 0.078 129.5)
XYZxyz(2.9089, 4.2120, 1.0751)
Luminance0.0421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B400E #230E40
analogous
#403C0E #2B400E #12400E
triadic
#2B400E #0E2B40 #400E2B
tetradic
#2B400E #0E403C #230E40 #400E12
square
#2B400E #0E403C #230E40 #400E12
split-complementary
#2B400E #0E1240 #3C0E40
monochromatic
#111905 #111905 #2B400E #4D7219 #6EA424

Accessibility & contrast

On white

11.40
#2B400E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2B400E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B400E
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B400E#FFFFFF#000000##FFFFFF
##2B400E1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b400e;
/* rgb */ color: rgb(43, 64, 14);
/* oklch */ color: oklch(34.2% 0.078 129.5);
Tailwind
colors: {
  custom: {
    50: '#667550',
    500: '#2b400e',
    950: '#000000',
  },
}
SCSS
$custom: #2b400e;
$custom-light: #667550;
$custom-dark: #000000;
JSON
{
  "hex": "#2b400e",
  "rgb": {
    "r": 43,
    "g": 64,
    "b": 14
  },
  "hsl": {
    "h": 85.2,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.34198,
    "c": 0.07831,
    "h": 129.5
  },
  "luminance": 0.04212
}

Semantic roles & 50–950 ramp

primary
#2B400E
secondary
#4F2F7B
accent
#41E787
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2B400E

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

Preview Lab → · Contrast checker → · Palette generator →

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