#2A4114#2A4114

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

Color values

HEX#2A4114
RGBrgb(42, 65, 20)
HSLhsl(91, 53%, 17%)
HSVhsv(91, 69%, 25%)
CMYKcmyk(35.4%, 0%, 69.2%, 74.5%)
CIE-LABlab(24.71, -17.97, 24.02)
CIE-LCHlch(24.71, 30.00, 126.80°)
OKLaboklab(34.49% -0.0503 0.0557)
OKLCHoklch(34.49% 0.075 132.1)
XYZxyz(2.9714, 4.3232, 1.3396)
Luminance0.0432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4114 #2B1441
analogous
#414114 #2A4114 #144115
triadic
#2A4114 #142A41 #41142A
tetradic
#2A4114 #144141 #2B1441 #411514
square
#2A4114 #144141 #2B1441 #411514
split-complementary
#2A4114 #151441 #411441
monochromatic
#0F1707 #0F1707 #2A4114 #487022 #669F31

Accessibility & contrast

On white

11.26
#2A4114 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4114
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4114#FFFFFF#000000##FFFFFF
##2A41141.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a4114;
/* rgb */ color: rgb(42, 65, 20);
/* oklch */ color: oklch(34.5% 0.075 132.1);
Tailwind
colors: {
  custom: {
    50: '#657553',
    500: '#2a4114',
    950: '#000000',
  },
}
SCSS
$custom: #2a4114;
$custom-light: #657553;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4114",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 20
  },
  "hsl": {
    "h": 90.667,
    "s": 52.941,
    "l": 16.667
  },
  "oklch": {
    "l": 0.34486,
    "c": 0.07507,
    "h": 132.1
  },
  "luminance": 0.04323
}

Semantic roles & 50–950 ramp

primary
#2A4114
secondary
#593879
accent
#4BDC96
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A4114

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

Preview Lab → · Contrast checker → · Palette generator →

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