#2A490C#2A490C

#2A490C is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.8% C 0.094 H 133.2°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#2A490C
RGBrgb(42, 73, 12)
HSLhsl(90, 72%, 17%)
HSVhsv(90, 84%, 29%)
CMYKcmyk(42.5%, 0%, 83.6%, 71.4%)
CIE-LABlab(27.53, -22.82, 30.69)
CIE-LCHlch(27.53, 38.24, 126.63°)
OKLaboklab(36.76% -0.0642 0.0685)
OKLCHoklch(36.76% 0.094 133.2)
XYZxyz(3.4037, 5.2837, 1.1883)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A490C #2B0C49
analogous
#49490C #2A490C #0C490D
triadic
#2A490C #0C2A49 #490C2A
tetradic
#2A490C #0C4949 #2B0C49 #490D0C
square
#2A490C #0C4949 #2B0C49 #490D0C
split-complementary
#2A490C #0D0C49 #490C49
monochromatic
#0F1A04 #0F1A04 #2A490C #487E15 #66B21D

Accessibility & contrast

On white

10.21
#2A490C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2A490C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A490C
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A490C#FFFFFF#000000##FFFFFF
##2A490C1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4302
Deuteranopia (green-blind)
#484012
Tritanopia (blue-blind)
#2A463D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a490c;
/* rgb */ color: rgb(42, 73, 12);
/* oklch */ color: oklch(36.8% 0.094 133.2);
Tailwind
colors: {
  custom: {
    50: '#677c50',
    500: '#2a490c',
    950: '#000000',
  },
}
SCSS
$custom: #2a490c;
$custom-light: #677c50;
$custom-dark: #000000;
JSON
{
  "hex": "#2a490c",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 12
  },
  "hsl": {
    "h": 90.492,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36759,
    "c": 0.09387,
    "h": 133.2
  },
  "luminance": 0.05284
}

Semantic roles & 50–950 ramp

primary
#2A490C
secondary
#592C85
accent
#39EE95
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A490C

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

Preview Lab → · Contrast checker → · Palette generator →

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