#2A4C10#2A4C10

#2A4C10 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.7% C 0.095 H 134.6°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#2A4C10
RGBrgb(42, 76, 16)
HSLhsl(94, 65%, 18%)
HSVhsv(94, 79%, 30%)
CMYKcmyk(44.7%, 0%, 78.9%, 70.2%)
CIE-LABlab(28.64, -23.98, 30.12)
CIE-LCHlch(28.64, 38.50, 128.53°)
OKLaboklab(37.68% -0.067 0.068)
OKLCHoklch(37.68% 0.095 134.6)
XYZxyz(3.6327, 5.6983, 1.3986)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4C10 #32104C
analogous
#484C10 #2A4C10 #104C14
triadic
#2A4C10 #102A4C #4C102A
tetradic
#2A4C10 #10484C #32104C #4C1410
square
#2A4C10 #10484C #32104C #4C1410
split-complementary
#2A4C10 #14104C #4C1048
monochromatic
#0E1905 #0E1905 #2A4C10 #467F1B #62B125

Accessibility & contrast

On white

9.81
#2A4C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2A4C10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4C10
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4C10#FFFFFF#000000##FFFFFF
##2A4C101.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4506
Deuteranopia (green-blind)
#4B4316
Tritanopia (blue-blind)
#294940
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2a4c10;
/* rgb */ color: rgb(42, 76, 16);
/* oklch */ color: oklch(37.7% 0.095 134.6);
Tailwind
colors: {
  custom: {
    50: '#677e52',
    500: '#2a4c10',
    950: '#000000',
  },
}
SCSS
$custom: #2a4c10;
$custom-light: #677e52;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4c10",
  "rgb": {
    "r": 42,
    "g": 76,
    "b": 16
  },
  "hsl": {
    "h": 94,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37677,
    "c": 0.09548,
    "h": 134.6
  },
  "luminance": 0.05699
}

Semantic roles & 50–950 ramp

primary
#2A4C10
secondary
#613286
accent
#40E89F
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2A4C10

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

Preview Lab → · Contrast checker → · Palette generator →

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