#2A2907#2A2907

#2A2907 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.4% C 0.051 H 107.7°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#2A2907
RGBrgb(42, 41, 7)
HSLhsl(58, 71%, 10%)
HSVhsv(58, 83%, 16%)
CMYKcmyk(0%, 2.4%, 83.3%, 83.5%)
CIE-LABlab(15.97, -4.87, 20.23)
CIE-LCHlch(15.97, 20.80, 103.54°)
OKLaboklab(27.39% -0.0154 0.0484)
OKLCHoklch(27.39% 0.051 107.7)
XYZxyz(1.7862, 2.0935, 0.5110)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2907 #07082A
analogous
#2A1807 #2A2907 #1A2A07
triadic
#2A2907 #072A29 #29072A
tetradic
#2A2907 #072A18 #07082A #2A071A
square
#2A2907 #072A18 #07082A #2A071A
split-complementary
#2A2907 #071A2A #18072A
monochromatic
#1A1A04 #1A1A04 #2A2907 #5E5C10 #938F18

Accessibility & contrast

On white

14.80
#2A2907 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2A2907 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2907
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2907#FFFFFF#000000##FFFFFF
##2A29071.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2704
Deuteranopia (green-blind)
#2E2809
Tritanopia (blue-blind)
#2E2622
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2a2907;
/* rgb */ color: rgb(42, 41, 7);
/* oklch */ color: oklch(27.4% 0.051 107.7);
Tailwind
colors: {
  custom: {
    50: '#65624a',
    500: '#2a2907',
    950: '#000000',
  },
}
SCSS
$custom: #2a2907;
$custom-light: #65624a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2907",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 7
  },
  "hsl": {
    "h": 58.286,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.27393,
    "c": 0.05084,
    "h": 107.7
  },
  "luminance": 0.02093
}

Semantic roles & 50–950 ramp

primary
#2A2907
secondary
#23256A
accent
#3FEE3A
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2A2907

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

Preview Lab → · Contrast checker → · Palette generator →

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