#2B3F0E#2B3F0E

#2B3F0E is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.9% C 0.077 H 129.0°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#2B3F0E
RGBrgb(43, 63, 14)
HSLhsl(84, 64%, 15%)
HSVhsv(84, 78%, 25%)
CMYKcmyk(31.7%, 0%, 77.8%, 75.3%)
CIE-LABlab(24.00, -17.02, 26.31)
CIE-LCHlch(24.00, 31.33, 122.91°)
OKLaboklab(33.91% -0.0484 0.0596)
OKLCHoklch(33.91% 0.077 129)
XYZxyz(2.8530, 4.1002, 1.0565)
Luminance0.0410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3F0E #220E3F
analogous
#3F3A0E #2B3F0E #123F0E
triadic
#2B3F0E #0E2B3F #3F0E2B
tetradic
#2B3F0E #0E3F3A #220E3F #3F0E12
square
#2B3F0E #0E3F3A #220E3F #3F0E12
split-complementary
#2B3F0E #0E123F #3A0E3F
monochromatic
#111906 #111906 #2B3F0E #4D7119 #6FA324

Accessibility & contrast

On white

11.54
#2B3F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2B3F0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3F0E
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3F0E#FFFFFF#000000##FFFFFF
##2B3F0E1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A07
Deuteranopia (green-blind)
#403912
Tritanopia (blue-blind)
#2D3C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b3f0e;
/* rgb */ color: rgb(43, 63, 14);
/* oklch */ color: oklch(33.9% 0.077 129.0);
Tailwind
colors: {
  custom: {
    50: '#667450',
    500: '#2b3f0e',
    950: '#000000',
  },
}
SCSS
$custom: #2b3f0e;
$custom-light: #667450;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3f0e",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 14
  },
  "hsl": {
    "h": 84.49,
    "s": 63.636,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33905,
    "c": 0.07677,
    "h": 129
  },
  "luminance": 0.041
}

Semantic roles & 50–950 ramp

primary
#2B3F0E
secondary
#4D2F7A
accent
#41E785
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2B3F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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