#2A3307#2A3307

#2A3307 is a dark, moderate yellow-green. Relative luminance 0.029; OKLCH L 30.3% C 0.065 H 120.6°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#2A3307
RGBrgb(42, 51, 7)
HSLhsl(72, 76%, 11%)
HSVhsv(72, 86%, 20%)
CMYKcmyk(17.6%, 0%, 86.3%, 80%)
CIE-LABlab(19.54, -11.18, 24.51)
CIE-LCHlch(19.54, 26.94, 114.51°)
OKLaboklab(30.25% -0.033 0.0559)
OKLCHoklch(30.25% 0.065 120.6)
XYZxyz(2.1771, 2.8752, 0.6413)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3307 #100733
analogous
#332607 #2A3307 #143307
triadic
#2A3307 #072A33 #33072A
tetradic
#2A3307 #073326 #100733 #330714
square
#2A3307 #073326 #100733 #330714
split-complementary
#2A3307 #071433 #260733
monochromatic
#161B04 #161B04 #2A3307 #56690E #839F16

Accessibility & contrast

On white

13.33
#2A3307 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2A3307 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3307
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3307#FFFFFF#000000##FFFFFF
##2A33071.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#372F02
Deuteranopia (green-blind)
#362F0B
Tritanopia (blue-blind)
#2D302A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a3307;
/* rgb */ color: rgb(42, 51, 7);
/* oklch */ color: oklch(30.3% 0.065 120.6);
Tailwind
colors: {
  custom: {
    50: '#656a4b',
    500: '#2a3307',
    950: '#000000',
  },
}
SCSS
$custom: #2a3307;
$custom-light: #656a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3307",
  "rgb": {
    "r": 42,
    "g": 51,
    "b": 7
  },
  "hsl": {
    "h": 72.273,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.30254,
    "c": 0.06488,
    "h": 120.6
  },
  "luminance": 0.02875
}

Semantic roles & 50–950 ramp

primary
#2A3307
secondary
#332373
accent
#35F25C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A3307

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

Preview Lab → · Contrast checker → · Palette generator →

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