#2A350B#2A350B

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

Color values

HEX#2A350B
RGBrgb(42, 53, 11)
HSLhsl(76, 66%, 13%)
HSVhsv(76, 79%, 21%)
CMYKcmyk(20.8%, 0%, 79.2%, 79.2%)
CIE-LABlab(20.29, -12.06, 23.73)
CIE-LCHlch(20.29, 26.62, 116.93°)
OKLaboklab(30.88% -0.0349 0.0541)
OKLCHoklch(30.88% 0.064 122.9)
XYZxyz(2.2884, 3.0626, 0.7871)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A350B #160B35
analogous
#352B0B #2A350B #15350B
triadic
#2A350B #0B2A35 #350B2A
tetradic
#2A350B #0B352B #160B35 #350B15
square
#2A350B #0B352B #160B35 #350B15
split-complementary
#2A350B #0B1535 #2B0B35
monochromatic
#141905 #141905 #2A350B #526816 #7A9A20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A350B#FFFFFF#000000##FFFFFF
##2A350B1.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)
#393106
Deuteranopia (green-blind)
#37310E
Tritanopia (blue-blind)
#2D322D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2a350b;
/* rgb */ color: rgb(42, 53, 11);
/* oklch */ color: oklch(30.9% 0.064 122.9);
Tailwind
colors: {
  custom: {
    50: '#656c4d',
    500: '#2a350b',
    950: '#000000',
  },
}
SCSS
$custom: #2a350b;
$custom-light: #656c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a350b",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 11
  },
  "hsl": {
    "h": 75.714,
    "s": 65.625,
    "l": 12.549
  },
  "oklch": {
    "l": 0.30875,
    "c": 0.06437,
    "h": 122.9
  },
  "luminance": 0.03063
}

Semantic roles & 50–950 ramp

primary
#2A350B
secondary
#3D2A72
accent
#3FE96C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A350B

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

Preview Lab → · Contrast checker → · Palette generator →

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