#2A3C10#2A3C10

#2A3C10 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.0% C 0.071 H 128.7°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#2A3C10
RGBrgb(42, 60, 16)
HSLhsl(85, 58%, 15%)
HSVhsv(85, 73%, 24%)
CMYKcmyk(30%, 0%, 73.3%, 76.5%)
CIE-LABlab(22.87, -15.64, 24.10)
CIE-LCHlch(22.87, 28.73, 122.99°)
OKLaboklab(32.97% -0.0443 0.0553)
OKLCHoklch(32.97% 0.071 128.7)
XYZxyz(2.6642, 3.7613, 1.0757)
Luminance0.0376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3C10 #22103C
analogous
#3C3810 #2A3C10 #143C10
triadic
#2A3C10 #102A3C #3C102A
tetradic
#2A3C10 #103C38 #22103C #3C1014
square
#2A3C10 #103C38 #22103C #3C1014
split-complementary
#2A3C10 #10143C #38103C
monochromatic
#111806 #111806 #2A3C10 #4C6C1D #6E9D2A

Accessibility & contrast

On white

11.98
#2A3C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2A3C10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3C10
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3C10#FFFFFF#000000##FFFFFF
##2A3C101.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F370A
Deuteranopia (green-blind)
#3D3613
Tritanopia (blue-blind)
#2C3933
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a3c10;
/* rgb */ color: rgb(42, 60, 16);
/* oklch */ color: oklch(33.0% 0.071 128.7);
Tailwind
colors: {
  custom: {
    50: '#657150',
    500: '#2a3c10',
    950: '#000000',
  },
}
SCSS
$custom: #2a3c10;
$custom-light: #657150;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3c10",
  "rgb": {
    "r": 42,
    "g": 60,
    "b": 16
  },
  "hsl": {
    "h": 84.545,
    "s": 57.895,
    "l": 14.902
  },
  "oklch": {
    "l": 0.32972,
    "c": 0.07085,
    "h": 128.7
  },
  "luminance": 0.03761
}

Semantic roles & 50–950 ramp

primary
#2A3C10
secondary
#4E3276
accent
#47E186
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2A3C10

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

Preview Lab → · Contrast checker → · Palette generator →

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