#2B3F0F#2B3F0F

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

Color values

HEX#2B3F0F
RGBrgb(43, 63, 15)
HSLhsl(85, 62%, 15%)
HSVhsv(85, 76%, 25%)
CMYKcmyk(31.7%, 0%, 76.2%, 75.3%)
CIE-LABlab(24.01, -16.94, 25.84)
CIE-LCHlch(24.01, 30.89, 123.24°)
OKLaboklab(33.92% -0.048 0.0588)
OKLCHoklch(33.92% 0.076 129.2)
XYZxyz(2.8600, 4.1030, 1.0931)
Luminance0.0410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3F0F #230F3F
analogous
#3F3B0F #2B3F0F #133F0F
triadic
#2B3F0F #0F2B3F #3F0F2B
tetradic
#2B3F0F #0F3F3B #230F3F #3F0F13
square
#2B3F0F #0F3F3B #230F3F #3F0F13
split-complementary
#2B3F0F #0F133F #3B0F3F
monochromatic
#111906 #111906 #2B3F0F #4D701B #6EA227

Accessibility & contrast

On white

11.53
#2B3F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3F0F
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3F0F#FFFFFF#000000##FFFFFF
##2B3F0F1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A08
Deuteranopia (green-blind)
#403913
Tritanopia (blue-blind)
#2C3C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b3f0f;
/* rgb */ color: rgb(43, 63, 15);
/* oklch */ color: oklch(33.9% 0.076 129.2);
Tailwind
colors: {
  custom: {
    50: '#667450',
    500: '#2b3f0f',
    950: '#000000',
  },
}
SCSS
$custom: #2b3f0f;
$custom-light: #667450;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3f0f",
  "rgb": {
    "r": 43,
    "g": 63,
    "b": 15
  },
  "hsl": {
    "h": 85,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33916,
    "c": 0.07591,
    "h": 129.2
  },
  "luminance": 0.04103
}

Semantic roles & 50–950 ramp

primary
#2B3F0F
secondary
#4F3079
accent
#43E586
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2B3F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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