#2A3810#2A3810

#2A3810 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.8% C 0.064 H 126.2°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#2A3810
RGBrgb(42, 56, 16)
HSLhsl(81, 56%, 14%)
HSVhsv(81, 71%, 22%)
CMYKcmyk(25%, 0%, 71.4%, 78%)
CIE-LABlab(21.42, -13.36, 22.52)
CIE-LCHlch(21.42, 26.19, 120.68°)
OKLaboklab(31.81% -0.038 0.052)
OKLCHoklch(31.81% 0.064 126.2)
XYZxyz(2.4625, 3.3580, 1.0085)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3810 #1E1038
analogous
#383210 #2A3810 #163810
triadic
#2A3810 #102A38 #38102A
tetradic
#2A3810 #103832 #1E1038 #381016
square
#2A3810 #103832 #1E1038 #381016
split-complementary
#2A3810 #101638 #321038
monochromatic
#121807 #121807 #2A3810 #4E681E #71972B

Accessibility & contrast

On white

12.56
#2A3810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2A3810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3810
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3810#FFFFFF#000000##FFFFFF
##2A38101.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340B
Deuteranopia (green-blind)
#393313
Tritanopia (blue-blind)
#2C3530
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2a3810;
/* rgb */ color: rgb(42, 56, 16);
/* oklch */ color: oklch(31.8% 0.064 126.2);
Tailwind
colors: {
  custom: {
    50: '#656e50',
    500: '#2a3810',
    950: '#000000',
  },
}
SCSS
$custom: #2a3810;
$custom-light: #656e50;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3810",
  "rgb": {
    "r": 42,
    "g": 56,
    "b": 16
  },
  "hsl": {
    "h": 81,
    "s": 55.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.31805,
    "c": 0.06437,
    "h": 126.2
  },
  "luminance": 0.03358
}

Semantic roles & 50–950 ramp

primary
#2A3810
secondary
#483272
accent
#49DF7D
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2A3810

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

Preview Lab → · Contrast checker → · Palette generator →

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