#2A3010#2A3010

#2A3010 is a dark, muted yellow-green. Relative luminance 0.026; OKLCH L 29.5% C 0.051 H 118.5°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#2A3010
RGBrgb(42, 48, 16)
HSLhsl(71, 50%, 13%)
HSVhsv(71, 67%, 19%)
CMYKcmyk(12.5%, 0%, 66.7%, 81.2%)
CIE-LABlab(18.56, -8.53, 19.27)
CIE-LCHlch(18.56, 21.07, 113.87°)
OKLaboklab(29.49% -0.0245 0.0451)
OKLCHoklch(29.49% 0.051 118.5)
XYZxyz(2.1054, 2.6436, 0.8895)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3010 #161030
analogous
#302610 #2A3010 #1A3010
triadic
#2A3010 #102A30 #30102A
tetradic
#2A3010 #103026 #161030 #30101A
square
#2A3010 #103026 #161030 #30101A
split-complementary
#2A3010 #101A30 #261030
monochromatic
#141708 #141708 #2A3010 #525E1F #7A8C2F

Accessibility & contrast

On white

13.74
#2A3010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2A3010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3010
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3010#FFFFFF#000000##FFFFFF
##2A30101.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D0D
Deuteranopia (green-blind)
#332D12
Tritanopia (blue-blind)
#2D2D29
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2a3010;
/* rgb */ color: rgb(42, 48, 16);
/* oklch */ color: oklch(29.5% 0.051 118.5);
Tailwind
colors: {
  custom: {
    50: '#64684f',
    500: '#2a3010',
    950: '#000000',
  },
}
SCSS
$custom: #2a3010;
$custom-light: #64684f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3010",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 16
  },
  "hsl": {
    "h": 71.25,
    "s": 50,
    "l": 12.549
  },
  "oklch": {
    "l": 0.29495,
    "c": 0.05132,
    "h": 118.5
  },
  "luminance": 0.02644
}

Semantic roles & 50–950 ramp

primary
#2A3010
secondary
#3D3369
accent
#4EDA68
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050602
muted
#7A7A78

Preview Lab

Preview with #2A3010

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

Preview Lab → · Contrast checker → · Palette generator →

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