#2A330B#2A330B

#2A330B is a dark, moderate yellow-green. Relative luminance 0.029; OKLCH L 30.3% C 0.061 H 121.1°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#2A330B
RGBrgb(42, 51, 11)
HSLhsl(74, 65%, 12%)
HSVhsv(74, 78%, 20%)
CMYKcmyk(17.6%, 0%, 78.4%, 80%)
CIE-LABlab(19.57, -10.86, 22.91)
CIE-LCHlch(19.57, 25.36, 115.36°)
OKLaboklab(30.3% -0.0316 0.0525)
OKLCHoklch(30.3% 0.061 121.1)
XYZxyz(2.1991, 2.8841, 0.7574)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A330B #140B33
analogous
#33280B #2A330B #16330B
triadic
#2A330B #0B2A33 #330B2A
tetradic
#2A330B #0B3328 #140B33 #330B16
square
#2A330B #0B3328 #140B33 #330B16
split-complementary
#2A330B #0B1633 #280B33
monochromatic
#151905 #151905 #2A330B #536516 #7D9821

Accessibility & contrast

On white

13.32
#2A330B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A330B
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A330B#FFFFFF#000000##FFFFFF
##2A330B1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373006
Deuteranopia (green-blind)
#352F0E
Tritanopia (blue-blind)
#2D302B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a330b;
/* rgb */ color: rgb(42, 51, 11);
/* oklch */ color: oklch(30.3% 0.061 121.1);
Tailwind
colors: {
  custom: {
    50: '#656a4c',
    500: '#2a330b',
    950: '#000000',
  },
}
SCSS
$custom: #2a330b;
$custom-light: #656a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a330b",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 11
  },
  "hsl": {
    "h": 73.5,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30295,
    "c": 0.06128,
    "h": 121.1
  },
  "luminance": 0.02884
}

Semantic roles & 50–950 ramp

primary
#2A330B
secondary
#3A2A70
accent
#40E866
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A330B

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

Preview Lab → · Contrast checker → · Palette generator →

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