#2A300B#2A300B

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

Color values

HEX#2A300B
RGBrgb(42, 48, 11)
HSLhsl(70, 63%, 12%)
HSVhsv(70, 77%, 19%)
CMYKcmyk(12.5%, 0%, 77.1%, 81.2%)
CIE-LABlab(18.50, -9.02, 21.66)
CIE-LCHlch(18.50, 23.47, 112.60°)
OKLaboklab(29.43% -0.0265 0.0501)
OKLCHoklch(29.43% 0.057 117.9)
XYZxyz(2.0722, 2.6303, 0.7151)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A300B #110B30
analogous
#30240B #2A300B #18300B
triadic
#2A300B #0B2A30 #300B2A
tetradic
#2A300B #0B3024 #110B30 #300B18
square
#2A300B #0B3024 #110B30 #300B18
split-complementary
#2A300B #0B1830 #240B30
monochromatic
#161906 #161906 #2A300B #566216 #819422

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A300B#FFFFFF#000000##FFFFFF
##2A300B1.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)
#342D07
Deuteranopia (green-blind)
#332D0E
Tritanopia (blue-blind)
#2D2D28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2a300b;
/* rgb */ color: rgb(42, 48, 11);
/* oklch */ color: oklch(29.4% 0.057 117.9);
Tailwind
colors: {
  custom: {
    50: '#65684c',
    500: '#2a300b',
    950: '#000000',
  },
}
SCSS
$custom: #2a300b;
$custom-light: #65684c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a300b",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 11
  },
  "hsl": {
    "h": 69.73,
    "s": 62.712,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2943,
    "c": 0.05669,
    "h": 117.9
  },
  "luminance": 0.0263
}

Semantic roles & 50–950 ramp

primary
#2A300B
secondary
#352A6D
accent
#42E65D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A300B

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

Preview Lab → · Contrast checker → · Palette generator →

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