#2A300A#2A300A

#2A300A is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.4% C 0.058 H 117.8°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#2A300A
RGBrgb(42, 48, 10)
HSLhsl(69, 66%, 11%)
HSVhsv(69, 79%, 19%)
CMYKcmyk(12.5%, 0%, 79.2%, 81.2%)
CIE-LABlab(18.49, -9.10, 22.07)
CIE-LCHlch(18.49, 23.87, 112.41°)
OKLaboklab(29.42% -0.0269 0.051)
OKLCHoklch(29.42% 0.058 117.8)
XYZxyz(2.0666, 2.6281, 0.6855)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A300A #100A30
analogous
#30230A #2A300A #17300A
triadic
#2A300A #0A2A30 #300A2A
tetradic
#2A300A #0A3023 #100A30 #300A17
square
#2A300A #0A3023 #100A30 #300A17
split-complementary
#2A300A #0A1730 #230A30
monochromatic
#161905 #161905 #2A300A #566315 #83951F

Accessibility & contrast

On white

13.77
#2A300A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A300A
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A300A#FFFFFF#000000##FFFFFF
##2A300A1.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a300a;
/* rgb */ color: rgb(42, 48, 10);
/* oklch */ color: oklch(29.4% 0.058 117.8);
Tailwind
colors: {
  custom: {
    50: '#65684c',
    500: '#2a300a',
    950: '#000000',
  },
}
SCSS
$custom: #2a300a;
$custom-light: #65684c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a300a",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 10
  },
  "hsl": {
    "h": 69.474,
    "s": 65.517,
    "l": 11.373
  },
  "oklch": {
    "l": 0.29419,
    "c": 0.05765,
    "h": 117.8
  },
  "luminance": 0.02628
}

Semantic roles & 50–950 ramp

primary
#2A300A
secondary
#33296D
accent
#3FE85A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A300A

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

Preview Lab → · Contrast checker → · Palette generator →

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