#2A3109#2A3109

#2A3109 is a dark, moderate yellow-green. Relative luminance 0.027; OKLCH L 29.7% C 0.060 H 118.8°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#2A3109
RGBrgb(42, 49, 9)
HSLhsl(71, 69%, 11%)
HSVhsv(71, 82%, 19%)
CMYKcmyk(14.3%, 0%, 81.6%, 80.8%)
CIE-LABlab(18.84, -9.80, 22.89)
CIE-LCHlch(18.84, 24.90, 113.18°)
OKLaboklab(29.7% -0.0289 0.0526)
OKLCHoklch(29.7% 0.06 118.8)
XYZxyz(2.1025, 2.7086, 0.6704)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3109 #100931
analogous
#312409 #2A3109 #163109
triadic
#2A3109 #092A31 #31092A
tetradic
#2A3109 #093124 #100931 #310916
square
#2A3109 #093124 #100931 #310916
split-complementary
#2A3109 #091631 #240931
monochromatic
#161A05 #161A05 #2A3109 #566512 #83981C

Accessibility & contrast

On white

13.62
#2A3109 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2A3109 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3109
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3109#FFFFFF#000000##FFFFFF
##2A31091.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E04
Deuteranopia (green-blind)
#342E0C
Tritanopia (blue-blind)
#2D2E29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2a3109;
/* rgb */ color: rgb(42, 49, 9);
/* oklch */ color: oklch(29.7% 0.060 118.8);
Tailwind
colors: {
  custom: {
    50: '#65694b',
    500: '#2a3109',
    950: '#000000',
  },
}
SCSS
$custom: #2a3109;
$custom-light: #65694b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3109",
  "rgb": {
    "r": 42,
    "g": 49,
    "b": 9
  },
  "hsl": {
    "h": 70.5,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.29696,
    "c": 0.06007,
    "h": 118.8
  },
  "luminance": 0.02709
}

Semantic roles & 50–950 ramp

primary
#2A3109
secondary
#33276F
accent
#3CEC5B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A3109

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

Preview Lab → · Contrast checker → · Palette generator →

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