#2A2F07#2A2F07

#2A2F07 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.1% C 0.059 H 116.4°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#2A2F07
RGBrgb(42, 47, 7)
HSLhsl(68, 74%, 11%)
HSVhsv(68, 85%, 18%)
CMYKcmyk(10.6%, 0%, 85.1%, 81.6%)
CIE-LABlab(18.10, -8.72, 22.83)
CIE-LCHlch(18.10, 24.44, 110.91°)
OKLaboklab(29.1% -0.0262 0.0529)
OKLCHoklch(29.1% 0.059 116.4)
XYZxyz(2.0098, 2.5406, 0.5855)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2F07 #0C072F
analogous
#2F2007 #2A2F07 #162F07
triadic
#2A2F07 #072A2F #2F072A
tetradic
#2A2F07 #072F20 #0C072F #2F0716
square
#2A2F07 #072F20 #0C072F #2F0716
split-complementary
#2A2F07 #07162F #20072F
monochromatic
#181B04 #181B04 #2A2F07 #5A640F #899A17

Accessibility & contrast

On white

13.92
#2A2F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#2A2F07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2F07
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2F07#FFFFFF#000000##FFFFFF
##2A2F071.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C03
Deuteranopia (green-blind)
#322C0A
Tritanopia (blue-blind)
#2D2C27
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2a2f07;
/* rgb */ color: rgb(42, 47, 7);
/* oklch */ color: oklch(29.1% 0.059 116.4);
Tailwind
colors: {
  custom: {
    50: '#65674a',
    500: '#2a2f07',
    950: '#000000',
  },
}
SCSS
$custom: #2a2f07;
$custom-light: #65674a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2f07",
  "rgb": {
    "r": 42,
    "g": 47,
    "b": 7
  },
  "hsl": {
    "h": 67.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.29099,
    "c": 0.05905,
    "h": 116.4
  },
  "luminance": 0.02541
}

Semantic roles & 50–950 ramp

primary
#2A2F07
secondary
#2D236F
accent
#37F14E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A2F07

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

Preview Lab → · Contrast checker → · Palette generator →

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