#2A2C07#2A2C07

#2A2C07 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.2% C 0.055 H 112.4°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#2A2C07
RGBrgb(42, 44, 7)
HSLhsl(63, 73%, 10%)
HSVhsv(63, 84%, 17%)
CMYKcmyk(4.5%, 0%, 84.1%, 82.7%)
CIE-LABlab(17.03, -6.83, 21.54)
CIE-LCHlch(17.03, 22.60, 107.58°)
OKLaboklab(28.24% -0.0209 0.0507)
OKLCHoklch(28.24% 0.055 112.4)
XYZxyz(1.8939, 2.3090, 0.5469)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C07 #09072C
analogous
#2C1B07 #2A2C07 #182C07
triadic
#2A2C07 #072A2C #2C072A
tetradic
#2A2C07 #072C1B #09072C #2C0718
square
#2A2C07 #072C1B #09072C #2C0718
split-complementary
#2A2C07 #07182C #1B072C
monochromatic
#191A04 #191A04 #2A2C07 #5C610F #8F9618

Accessibility & contrast

On white

14.37
#2A2C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2A2C07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2C07
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C07#FFFFFF#000000##FFFFFF
##2A2C071.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A03
Deuteranopia (green-blind)
#302A09
Tritanopia (blue-blind)
#2D2925
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2a2c07;
/* rgb */ color: rgb(42, 44, 7);
/* oklch */ color: oklch(28.2% 0.055 112.4);
Tailwind
colors: {
  custom: {
    50: '#65644a',
    500: '#2a2c07',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c07;
$custom-light: #65644a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c07",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 7
  },
  "hsl": {
    "h": 63.243,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.28241,
    "c": 0.05483,
    "h": 112.4
  },
  "luminance": 0.02309
}

Semantic roles & 50–950 ramp

primary
#2A2C07
secondary
#27236C
accent
#39EF42
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2A2C07

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

Preview Lab → · Contrast checker → · Palette generator →

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