#2A2B07#2A2B07

#2A2B07 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.0% C 0.053 H 110.9°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#2A2B07
RGBrgb(42, 43, 7)
HSLhsl(62, 72%, 10%)
HSVhsv(62, 84%, 17%)
CMYKcmyk(2.3%, 0%, 83.7%, 83.1%)
CIE-LABlab(16.68, -6.18, 21.11)
CIE-LCHlch(16.68, 21.99, 106.32°)
OKLaboklab(27.96% -0.0191 0.0499)
OKLCHoklch(27.96% 0.053 110.9)
XYZxyz(1.8571, 2.2354, 0.5346)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B07 #08072B
analogous
#2B1A07 #2A2B07 #182B07
triadic
#2A2B07 #072A2B #2B072A
tetradic
#2A2B07 #072B1A #08072B #2B0718
square
#2A2B07 #072B1A #08072B #2B0718
split-complementary
#2A2B07 #07182B #1A072B
monochromatic
#1A1A04 #1A1A04 #2A2B07 #5D6010 #919418

Accessibility & contrast

On white

14.51
#2A2B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2A2B07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2B07
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2B07#FFFFFF#000000##FFFFFF
##2A2B071.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2903
Deuteranopia (green-blind)
#2F2A09
Tritanopia (blue-blind)
#2E2824
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2a2b07;
/* rgb */ color: rgb(42, 43, 7);
/* oklch */ color: oklch(28.0% 0.053 110.9);
Tailwind
colors: {
  custom: {
    50: '#65644a',
    500: '#2a2b07',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b07;
$custom-light: #65644a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b07",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 7
  },
  "hsl": {
    "h": 61.667,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27957,
    "c": 0.05348,
    "h": 110.9
  },
  "luminance": 0.02235
}

Semantic roles & 50–950 ramp

primary
#2A2B07
secondary
#25236B
accent
#39EF3E
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2A2B07

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

Preview Lab → · Contrast checker → · Palette generator →

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