#2A3108#2A3108

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

Color values

HEX#2A3108
RGBrgb(42, 49, 8)
HSLhsl(70, 72%, 11%)
HSVhsv(70, 84%, 19%)
CMYKcmyk(14.3%, 0%, 83.7%, 80.8%)
CIE-LABlab(18.83, -9.88, 23.28)
CIE-LCHlch(18.83, 25.29, 113.00°)
OKLaboklab(29.69% -0.0293 0.0535)
OKLCHoklch(29.69% 0.061 118.7)
XYZxyz(2.0970, 2.7064, 0.6416)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3108 #0F0831
analogous
#312308 #2A3108 #153108
triadic
#2A3108 #082A31 #31082A
tetradic
#2A3108 #083123 #0F0831 #310815
square
#2A3108 #083123 #0F0831 #310815
split-complementary
#2A3108 #081531 #230831
monochromatic
#171A04 #171A04 #2A3108 #576611 #849A19

Accessibility & contrast

On white

13.63
#2A3108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3108
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3108#FFFFFF#000000##FFFFFF
##2A31081.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a3108;
/* rgb */ color: rgb(42, 49, 8);
/* oklch */ color: oklch(29.7% 0.061 118.7);
Tailwind
colors: {
  custom: {
    50: '#65694b',
    500: '#2a3108',
    950: '#000000',
  },
}
SCSS
$custom: #2a3108;
$custom-light: #65694b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3108",
  "rgb": {
    "r": 42,
    "g": 49,
    "b": 8
  },
  "hsl": {
    "h": 70.244,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.29685,
    "c": 0.061,
    "h": 118.7
  },
  "luminance": 0.02706
}

Semantic roles & 50–950 ramp

primary
#2A3108
secondary
#322570
accent
#39EF58
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A3108

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

Preview Lab → · Contrast checker → · Palette generator →

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