#2A300D#2A300D

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

Color values

HEX#2A300D
RGBrgb(42, 48, 13)
HSLhsl(70, 57%, 12%)
HSVhsv(70, 73%, 19%)
CMYKcmyk(12.5%, 0%, 72.9%, 81.2%)
CIE-LABlab(18.52, -8.83, 20.78)
CIE-LCHlch(18.52, 22.58, 113.03°)
OKLaboklab(29.45% -0.0257 0.0482)
OKLCHoklch(29.45% 0.055 118.1)
XYZxyz(2.0845, 2.6352, 0.7795)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A300D #130D30
analogous
#30250D #2A300D #19300D
triadic
#2A300D #0D2A30 #300D2A
tetradic
#2A300D #0D3025 #130D30 #300D19
square
#2A300D #0D3025 #130D30 #300D19
split-complementary
#2A300D #0D1930 #250D30
monochromatic
#151807 #151807 #2A300D #54601A #7E9027

Accessibility & contrast

On white

13.75
#2A300D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A300D
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A300D#FFFFFF#000000##FFFFFF
##2A300D1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D09
Deuteranopia (green-blind)
#332D0F
Tritanopia (blue-blind)
#2D2D29
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2a300d;
/* rgb */ color: rgb(42, 48, 13);
/* oklch */ color: oklch(29.5% 0.055 118.1);
Tailwind
colors: {
  custom: {
    50: '#65684d',
    500: '#2a300d',
    950: '#000000',
  },
}
SCSS
$custom: #2a300d;
$custom-light: #65684d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a300d",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 13
  },
  "hsl": {
    "h": 70.286,
    "s": 57.377,
    "l": 11.961
  },
  "oklch": {
    "l": 0.29454,
    "c": 0.05466,
    "h": 118.1
  },
  "luminance": 0.02635
}

Semantic roles & 50–950 ramp

primary
#2A300D
secondary
#382E6B
accent
#47E161
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050601
muted
#7A7A77

Preview Lab

Preview with #2A300D

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

Preview Lab → · Contrast checker → · Palette generator →

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