#2A300F#2A300F

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

Color values

HEX#2A300F
RGBrgb(42, 48, 15)
HSLhsl(71, 52%, 12%)
HSVhsv(71, 69%, 19%)
CMYKcmyk(12.5%, 0%, 68.7%, 81.2%)
CIE-LABlab(18.54, -8.63, 19.80)
CIE-LCHlch(18.54, 21.60, 113.56°)
OKLaboklab(29.48% -0.0249 0.0462)
OKLCHoklch(29.48% 0.052 118.4)
XYZxyz(2.0981, 2.6407, 0.8510)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A300F #150F30
analogous
#30260F #2A300F #1A300F
triadic
#2A300F #0F2A30 #300F2A
tetradic
#2A300F #0F3026 #150F30 #300F1A
square
#2A300F #0F3026 #150F30 #300F1A
split-complementary
#2A300F #0F1A30 #260F30
monochromatic
#141707 #141707 #2A300F #535F1E #7C8D2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A300F#FFFFFF#000000##FFFFFF
##2A300F1.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)
#332D0C
Deuteranopia (green-blind)
#332D11
Tritanopia (blue-blind)
#2D2D29
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2a300f;
/* rgb */ color: rgb(42, 48, 15);
/* oklch */ color: oklch(29.5% 0.052 118.4);
Tailwind
colors: {
  custom: {
    50: '#64684e',
    500: '#2a300f',
    950: '#000000',
  },
}
SCSS
$custom: #2a300f;
$custom-light: #64684e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a300f",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 15
  },
  "hsl": {
    "h": 70.909,
    "s": 52.381,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2948,
    "c": 0.05247,
    "h": 118.4
  },
  "luminance": 0.02641
}

Semantic roles & 50–950 ramp

primary
#2A300F
secondary
#3B316A
accent
#4CDC66
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#050602
muted
#7A7A78

Preview Lab

Preview with #2A300F

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

Preview Lab → · Contrast checker → · Palette generator →

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