#2A350C#2A350C

#2A350C is a dark, moderate yellow-green. Relative luminance 0.031; OKLCH L 30.9% C 0.063 H 123.0°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#2A350C
RGBrgb(42, 53, 12)
HSLhsl(76, 63%, 13%)
HSVhsv(76, 77%, 21%)
CMYKcmyk(20.8%, 0%, 77.4%, 79.2%)
CIE-LABlab(20.30, -11.97, 23.30)
CIE-LCHlch(20.30, 26.19, 117.20°)
OKLaboklab(30.89% -0.0346 0.0532)
OKLCHoklch(30.89% 0.063 123)
XYZxyz(2.2943, 3.0650, 0.8185)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A350C #170C35
analogous
#352B0C #2A350C #15350C
triadic
#2A350C #0C2A35 #350C2A
tetradic
#2A350C #0C352B #170C35 #350C15
square
#2A350C #0C352B #170C35 #350C15
split-complementary
#2A350C #0C1535 #2B0C35
monochromatic
#141906 #141906 #2A350C #526717 #799923

Accessibility & contrast

On white

13.02
#2A350C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2A350C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A350C
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A350C#FFFFFF#000000##FFFFFF
##2A350C1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393107
Deuteranopia (green-blind)
#37310F
Tritanopia (blue-blind)
#2C322D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2a350c;
/* rgb */ color: rgb(42, 53, 12);
/* oklch */ color: oklch(30.9% 0.063 123.0);
Tailwind
colors: {
  custom: {
    50: '#656c4d',
    500: '#2a350c',
    950: '#000000',
  },
}
SCSS
$custom: #2a350c;
$custom-light: #656c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a350c",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 12
  },
  "hsl": {
    "h": 76.098,
    "s": 63.077,
    "l": 12.745
  },
  "oklch": {
    "l": 0.30885,
    "c": 0.06347,
    "h": 123
  },
  "luminance": 0.03065
}

Semantic roles & 50–950 ramp

primary
#2A350C
secondary
#3E2C71
accent
#42E66E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A350C

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

Preview Lab → · Contrast checker → · Palette generator →

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