#2A4310#2A4310

#2A4310 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.0% C 0.082 H 131.9°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#2A4310
RGBrgb(42, 67, 16)
HSLhsl(89, 61%, 16%)
HSVhsv(89, 76%, 26%)
CMYKcmyk(37.3%, 0%, 76.1%, 73.7%)
CIE-LABlab(25.39, -19.44, 26.78)
CIE-LCHlch(25.39, 33.09, 125.97°)
OKLaboklab(35.03% -0.0547 0.061)
OKLCHoklch(35.03% 0.082 131.9)
XYZxyz(3.0555, 4.5438, 1.2062)
Luminance0.0454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4310 #291043
analogous
#434310 #2A4310 #114310
triadic
#2A4310 #102A43 #43102A
tetradic
#2A4310 #104343 #291043 #431011
square
#2A4310 #104343 #291043 #431011
split-complementary
#2A4310 #101143 #431043
monochromatic
#0F1906 #0F1906 #2A4310 #49741C #68A628

Accessibility & contrast

On white

11.00
#2A4310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2A4310 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4310
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4310#FFFFFF#000000##FFFFFF
##2A43101.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D09
Deuteranopia (green-blind)
#433C14
Tritanopia (blue-blind)
#2B4039
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a4310;
/* rgb */ color: rgb(42, 67, 16);
/* oklch */ color: oklch(35.0% 0.082 131.9);
Tailwind
colors: {
  custom: {
    50: '#667751',
    500: '#2a4310',
    950: '#000000',
  },
}
SCSS
$custom: #2a4310;
$custom-light: #667751;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4310",
  "rgb": {
    "r": 42,
    "g": 67,
    "b": 16
  },
  "hsl": {
    "h": 89.412,
    "s": 61.446,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35027,
    "c": 0.0819,
    "h": 131.9
  },
  "luminance": 0.04544
}

Semantic roles & 50–950 ramp

primary
#2A4310
secondary
#57327D
accent
#43E592
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A4310

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

Preview Lab → · Contrast checker → · Palette generator →

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