#2B330F#2B330F

#2B330F is a dark, muted yellow-green. Relative luminance 0.029; OKLCH L 30.4% C 0.057 H 120.4°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#2B330F
RGBrgb(43, 51, 15)
HSLhsl(73, 55%, 13%)
HSVhsv(73, 71%, 20%)
CMYKcmyk(15.7%, 0%, 70.6%, 80%)
CIE-LABlab(19.70, -9.98, 21.17)
CIE-LCHlch(19.70, 23.40, 115.25°)
OKLaboklab(30.44% -0.0288 0.049)
OKLCHoklch(30.44% 0.057 120.4)
XYZxyz(2.2663, 2.9157, 0.8952)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B330F #170F33
analogous
#33290F #2B330F #19330F
triadic
#2B330F #0F2B33 #330F2B
tetradic
#2B330F #0F3329 #170F33 #330F19
square
#2B330F #0F3329 #170F33 #330F19
split-complementary
#2B330F #0F1933 #290F33
monochromatic
#141807 #141807 #2B330F #53621D #7B922B

Accessibility & contrast

On white

13.26
#2B330F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2B330F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B330F
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B330F#FFFFFF#000000##FFFFFF
##2B330F1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37300B
Deuteranopia (green-blind)
#363011
Tritanopia (blue-blind)
#2E302B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2b330f;
/* rgb */ color: rgb(43, 51, 15);
/* oklch */ color: oklch(30.4% 0.057 120.4);
Tailwind
colors: {
  custom: {
    50: '#656a4f',
    500: '#2b330f',
    950: '#000000',
  },
}
SCSS
$custom: #2b330f;
$custom-light: #656a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b330f",
  "rgb": {
    "r": 43,
    "g": 51,
    "b": 15
  },
  "hsl": {
    "h": 73.333,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.30435,
    "c": 0.0568,
    "h": 120.4
  },
  "luminance": 0.02916
}

Semantic roles & 50–950 ramp

primary
#2B330F
secondary
#3E316D
accent
#4ADE6B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060602
muted
#7A7A78

Preview Lab

Preview with #2B330F

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

Preview Lab → · Contrast checker → · Palette generator →

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