#2A4113#2A4113

#2A4113 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.5% C 0.076 H 131.8°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#2A4113
RGBrgb(42, 65, 19)
HSLhsl(90, 55%, 16%)
HSVhsv(90, 71%, 25%)
CMYKcmyk(35.4%, 0%, 70.8%, 74.5%)
CIE-LABlab(24.70, -18.08, 24.54)
CIE-LCHlch(24.70, 30.48, 126.39°)
OKLaboklab(34.47% -0.0507 0.0567)
OKLCHoklch(34.47% 0.076 131.8)
XYZxyz(2.9626, 4.3198, 1.2937)
Luminance0.0432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4113 #2A1341
analogous
#414113 #2A4113 #134113
triadic
#2A4113 #132A41 #41132A
tetradic
#2A4113 #134141 #2A1341 #411313
square
#2A4113 #134141 #2A1341 #411313
split-complementary
#2A4113 #131341 #411341
monochromatic
#0F1807 #0F1807 #2A4113 #497021 #67A02F

Accessibility & contrast

On white

11.27
#2A4113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2A4113 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4113
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4113#FFFFFF#000000##FFFFFF
##2A41131.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C0E
Deuteranopia (green-blind)
#413A17
Tritanopia (blue-blind)
#2B3E37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a4113;
/* rgb */ color: rgb(42, 65, 19);
/* oklch */ color: oklch(34.5% 0.076 131.8);
Tailwind
colors: {
  custom: {
    50: '#657553',
    500: '#2a4113',
    950: '#000000',
  },
}
SCSS
$custom: #2a4113;
$custom-light: #657553;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4113",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 19
  },
  "hsl": {
    "h": 90,
    "s": 54.762,
    "l": 16.471
  },
  "oklch": {
    "l": 0.34473,
    "c": 0.07603,
    "h": 131.8
  },
  "luminance": 0.0432
}

Semantic roles & 50–950 ramp

primary
#2A4113
secondary
#58367A
accent
#4ADE94
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A4113

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

Preview Lab → · Contrast checker → · Palette generator →

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