#2A350A#2A350A

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

Color values

HEX#2A350A
RGBrgb(42, 53, 10)
HSLhsl(75, 68%, 12%)
HSVhsv(75, 81%, 21%)
CMYKcmyk(20.8%, 0%, 81.1%, 79.2%)
CIE-LABlab(20.28, -12.14, 24.14)
CIE-LCHlch(20.28, 27.02, 116.69°)
OKLaboklab(30.87% -0.0353 0.0549)
OKLCHoklch(30.87% 0.065 122.7)
XYZxyz(2.2828, 3.0604, 0.7575)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A350A #150A35
analogous
#352B0A #2A350A #14350A
triadic
#2A350A #0A2A35 #350A2A
tetradic
#2A350A #0A352B #150A35 #350A14
square
#2A350A #0A352B #150A35 #350A14
split-complementary
#2A350A #0A1435 #2B0A35
monochromatic
#141A05 #141A05 #2A350A #536814 #7C9C1D

Accessibility & contrast

On white

13.03
#2A350A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A350A
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A350A#FFFFFF#000000##FFFFFF
##2A350A1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393105
Deuteranopia (green-blind)
#37310D
Tritanopia (blue-blind)
#2D322C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2a350a;
/* rgb */ color: rgb(42, 53, 10);
/* oklch */ color: oklch(30.9% 0.065 122.7);
Tailwind
colors: {
  custom: {
    50: '#656c4c',
    500: '#2a350a',
    950: '#000000',
  },
}
SCSS
$custom: #2a350a;
$custom-light: #656c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a350a",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 10
  },
  "hsl": {
    "h": 75.349,
    "s": 68.254,
    "l": 12.353
  },
  "oklch": {
    "l": 0.30865,
    "c": 0.06525,
    "h": 122.7
  },
  "luminance": 0.0306
}

Semantic roles & 50–950 ramp

primary
#2A350A
secondary
#3B2872
accent
#3DEB69
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A350A

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

Preview Lab → · Contrast checker → · Palette generator →

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