#2A3313#2A3313

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

Color values

HEX#2A3313
RGBrgb(42, 51, 19)
HSLhsl(77, 46%, 14%)
HSVhsv(77, 63%, 20%)
CMYKcmyk(17.6%, 0%, 62.7%, 80%)
CIE-LABlab(19.67, -10.04, 18.81)
CIE-LCHlch(19.67, 21.33, 118.09°)
OKLaboklab(30.4% -0.0284 0.0444)
OKLCHoklch(30.4% 0.053 122.6)
XYZxyz(2.2562, 2.9069, 1.0582)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3313 #1C1333
analogous
#332C13 #2A3313 #1A3313
triadic
#2A3313 #132A33 #33132A
tetradic
#2A3313 #13332C #1C1333 #33131A
square
#2A3313 #13332C #1C1333 #33131A
split-complementary
#2A3313 #131A33 #2C1333
monochromatic
#121608 #121608 #2A3313 #4F6024 #738C34

Accessibility & contrast

On white

13.28
#2A3313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3313
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3313#FFFFFF#000000##FFFFFF
##2A33131.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363010
Deuteranopia (green-blind)
#353015
Tritanopia (blue-blind)
#2C302C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2a3313;
/* rgb */ color: rgb(42, 51, 19);
/* oklch */ color: oklch(30.4% 0.053 122.6);
Tailwind
colors: {
  custom: {
    50: '#646a51',
    500: '#2a3313',
    950: '#000000',
  },
}
SCSS
$custom: #2a3313;
$custom-light: #646a51;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3313",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 19
  },
  "hsl": {
    "h": 76.875,
    "s": 45.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.304,
    "c": 0.05271,
    "h": 122.6
  },
  "luminance": 0.02907
}

Semantic roles & 50–950 ramp

primary
#2A3313
secondary
#46376B
accent
#52D577
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050602
muted
#7A7A78

Preview Lab

Preview with #2A3313

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

Preview Lab → · Contrast checker → · Palette generator →

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