#2A4110#2A4110

#2A4110 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.4% C 0.079 H 131.1°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#2A4110
RGBrgb(42, 65, 16)
HSLhsl(88, 60%, 16%)
HSVhsv(88, 75%, 25%)
CMYKcmyk(35.4%, 0%, 75.4%, 74.5%)
CIE-LABlab(24.67, -18.38, 26.02)
CIE-LCHlch(24.67, 31.86, 125.23°)
OKLaboklab(34.44% -0.0518 0.0594)
OKLCHoklch(34.44% 0.079 131.1)
XYZxyz(2.9386, 4.3101, 1.1672)
Luminance0.0431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4110 #271041
analogous
#413F10 #2A4110 #114110
triadic
#2A4110 #102A41 #41102A
tetradic
#2A4110 #10413F #271041 #411011
square
#2A4110 #10413F #271041 #411011
split-complementary
#2A4110 #101141 #3F1041
monochromatic
#101906 #101906 #2A4110 #4A721C #69A328

Accessibility & contrast

On white

11.28
#2A4110 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4110
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4110#FFFFFF#000000##FFFFFF
##2A41101.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a4110;
/* rgb */ color: rgb(42, 65, 16);
/* oklch */ color: oklch(34.4% 0.079 131.1);
Tailwind
colors: {
  custom: {
    50: '#667551',
    500: '#2a4110',
    950: '#000000',
  },
}
SCSS
$custom: #2a4110;
$custom-light: #667551;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4110",
  "rgb": {
    "r": 42,
    "g": 65,
    "b": 16
  },
  "hsl": {
    "h": 88.163,
    "s": 60.494,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34439,
    "c": 0.07878,
    "h": 131.1
  },
  "luminance": 0.0431
}

Semantic roles & 50–950 ramp

primary
#2A4110
secondary
#54327B
accent
#44E48F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A4110

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

Preview Lab → · Contrast checker → · Palette generator →

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