#2A4014#2A4014

#2A4014 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.2% C 0.073 H 131.6°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#2A4014
RGBrgb(42, 64, 20)
HSLhsl(90, 52%, 16%)
HSVhsv(90, 69%, 25%)
CMYKcmyk(34.4%, 0%, 68.8%, 74.9%)
CIE-LABlab(24.35, -17.43, 23.62)
CIE-LCHlch(24.35, 29.36, 126.43°)
OKLaboklab(34.19% -0.0488 0.0549)
OKLCHoklch(34.19% 0.073 131.6)
XYZxyz(2.9145, 4.2094, 1.3206)
Luminance0.0421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4014 #2A1440
analogous
#404014 #2A4014 #144014
triadic
#2A4014 #142A40 #40142A
tetradic
#2A4014 #144040 #2A1440 #401414
square
#2A4014 #144040 #2A1440 #401414
split-complementary
#2A4014 #141440 #401440
monochromatic
#0F1707 #0F1707 #2A4014 #496F23 #679D31

Accessibility & contrast

On white

11.40
#2A4014 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2A4014 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4014
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4014#FFFFFF#000000##FFFFFF
##2A40141.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0F
Deuteranopia (green-blind)
#403917
Tritanopia (blue-blind)
#2B3D37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a4014;
/* rgb */ color: rgb(42, 64, 20);
/* oklch */ color: oklch(34.2% 0.073 131.6);
Tailwind
colors: {
  custom: {
    50: '#657553',
    500: '#2a4014',
    950: '#000000',
  },
}
SCSS
$custom: #2a4014;
$custom-light: #657553;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4014",
  "rgb": {
    "r": 42,
    "g": 64,
    "b": 20
  },
  "hsl": {
    "h": 90,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.34193,
    "c": 0.07343,
    "h": 131.6
  },
  "luminance": 0.0421
}

Semantic roles & 50–950 ramp

primary
#2A4014
secondary
#583878
accent
#4CDC94
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2A4014

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

Preview Lab → · Contrast checker → · Palette generator →

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