#2A300C#2A300C

#2A300C is a dark, muted yellow-green. Relative luminance 0.026; OKLCH L 29.4% C 0.056 H 118.0°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#2A300C
RGBrgb(42, 48, 12)
HSLhsl(70, 60%, 12%)
HSVhsv(70, 75%, 19%)
CMYKcmyk(12.5%, 0%, 75%, 81.2%)
CIE-LABlab(18.51, -8.93, 21.23)
CIE-LCHlch(18.51, 23.04, 112.80°)
OKLaboklab(29.44% -0.0261 0.0492)
OKLCHoklch(29.44% 0.056 118)
XYZxyz(2.0782, 2.6327, 0.7464)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A300C #120C30
analogous
#30240C #2A300C #18300C
triadic
#2A300C #0C2A30 #300C2A
tetradic
#2A300C #0C3024 #120C30 #300C18
square
#2A300C #0C3024 #120C30 #300C18
split-complementary
#2A300C #0C1830 #240C30
monochromatic
#151806 #151806 #2A300C #556118 #809224

Accessibility & contrast

On white

13.76
#2A300C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A300C
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A300C#FFFFFF#000000##FFFFFF
##2A300C1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D08
Deuteranopia (green-blind)
#332D0E
Tritanopia (blue-blind)
#2D2D28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2a300c;
/* rgb */ color: rgb(42, 48, 12);
/* oklch */ color: oklch(29.4% 0.056 118.0);
Tailwind
colors: {
  custom: {
    50: '#65684d',
    500: '#2a300c',
    950: '#000000',
  },
}
SCSS
$custom: #2a300c;
$custom-light: #65684d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a300c",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 12
  },
  "hsl": {
    "h": 70,
    "s": 60,
    "l": 11.765
  },
  "oklch": {
    "l": 0.29441,
    "c": 0.0557,
    "h": 118
  },
  "luminance": 0.02633
}

Semantic roles & 50–950 ramp

primary
#2A300C
secondary
#372C6C
accent
#45E35F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #2A300C

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

Preview Lab → · Contrast checker → · Palette generator →

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