#2A2E07#2A2E07

#2A2E07 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 28.8% C 0.058 H 115.1°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#2A2E07
RGBrgb(42, 46, 7)
HSLhsl(66, 74%, 10%)
HSVhsv(66, 85%, 18%)
CMYKcmyk(8.7%, 0%, 84.8%, 82%)
CIE-LABlab(17.74, -8.10, 22.41)
CIE-LCHlch(17.74, 23.83, 109.87°)
OKLaboklab(28.81% -0.0245 0.0522)
OKLCHoklch(28.81% 0.058 115.1)
XYZxyz(1.9702, 2.4616, 0.5723)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E07 #0B072E
analogous
#2E1E07 #2A2E07 #162E07
triadic
#2A2E07 #072A2E #2E072A
tetradic
#2A2E07 #072E1E #0B072E #2E0716
square
#2A2E07 #072E1E #0B072E #2E0716
split-complementary
#2A2E07 #07162E #1E072E
monochromatic
#181B04 #181B04 #2A2E07 #5A630F #8B9817

Accessibility & contrast

On white

14.07
#2A2E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2A2E07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E07
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E07#FFFFFF#000000##FFFFFF
##2A2E071.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B03
Deuteranopia (green-blind)
#322C0A
Tritanopia (blue-blind)
#2D2B26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a2e07;
/* rgb */ color: rgb(42, 46, 7);
/* oklch */ color: oklch(28.8% 0.058 115.1);
Tailwind
colors: {
  custom: {
    50: '#65664a',
    500: '#2a2e07',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e07;
$custom-light: #65664a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e07",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 7
  },
  "hsl": {
    "h": 66.154,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.28812,
    "c": 0.05763,
    "h": 115.1
  },
  "luminance": 0.02462
}

Semantic roles & 50–950 ramp

primary
#2A2E07
secondary
#2B236E
accent
#38F04A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A2E07

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

Preview Lab → · Contrast checker → · Palette generator →

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