#2A330A#2A330A

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

Color values

HEX#2A330A
RGBrgb(42, 51, 10)
HSLhsl(73, 67%, 12%)
HSVhsv(73, 80%, 20%)
CMYKcmyk(17.6%, 0%, 80.4%, 80%)
CIE-LABlab(19.56, -10.94, 23.32)
CIE-LCHlch(19.56, 25.76, 115.13°)
OKLaboklab(30.28% -0.032 0.0533)
OKLCHoklch(30.28% 0.062 120.9)
XYZxyz(2.1935, 2.8818, 0.7278)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A330A #130A33
analogous
#33280A #2A330A #16330A
triadic
#2A330A #0A2A33 #330A2A
tetradic
#2A330A #0A3328 #130A33 #330A16
square
#2A330A #0A3328 #130A33 #330A16
split-complementary
#2A330A #0A1633 #280A33
monochromatic
#151A05 #151A05 #2A330A #546614 #7E991E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A330A#FFFFFF#000000##FFFFFF
##2A330A1.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)
#372F05
Deuteranopia (green-blind)
#362F0D
Tritanopia (blue-blind)
#2D302B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a330a;
/* rgb */ color: rgb(42, 51, 10);
/* oklch */ color: oklch(30.3% 0.062 120.9);
Tailwind
colors: {
  custom: {
    50: '#656a4c',
    500: '#2a330a',
    950: '#000000',
  },
}
SCSS
$custom: #2a330a;
$custom-light: #656a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a330a",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 10
  },
  "hsl": {
    "h": 73.171,
    "s": 67.213,
    "l": 11.961
  },
  "oklch": {
    "l": 0.30284,
    "c": 0.06218,
    "h": 120.9
  },
  "luminance": 0.02882
}

Semantic roles & 50–950 ramp

primary
#2A330A
secondary
#382870
accent
#3EEA64
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A330A

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

Preview Lab → · Contrast checker → · Palette generator →

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