#2A2E08#2A2E08

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

Color values

HEX#2A2E08
RGBrgb(42, 46, 8)
HSLhsl(66, 70%, 11%)
HSVhsv(66, 83%, 18%)
CMYKcmyk(8.7%, 0%, 82.6%, 82%)
CIE-LABlab(17.75, -8.01, 22.01)
CIE-LCHlch(17.75, 23.43, 110.01°)
OKLaboklab(28.82% -0.0241 0.0512)
OKLCHoklch(28.82% 0.057 115.2)
XYZxyz(1.9757, 2.4638, 0.6012)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E08 #0C082E
analogous
#2E1F08 #2A2E08 #172E08
triadic
#2A2E08 #082A2E #2E082A
tetradic
#2A2E08 #082E1F #0C082E #2E0817
square
#2A2E08 #082E1F #0C082E #2E0817
split-complementary
#2A2E08 #08172E #1F082E
monochromatic
#181A05 #181A05 #2A2E08 #5A6211 #89961A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A2E08#FFFFFF#000000##FFFFFF
##2A2E081.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)
#322B04
Deuteranopia (green-blind)
#322C0B
Tritanopia (blue-blind)
#2D2B26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a2e08;
/* rgb */ color: rgb(42, 46, 8);
/* oklch */ color: oklch(28.8% 0.057 115.2);
Tailwind
colors: {
  custom: {
    50: '#65664b',
    500: '#2a2e08',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e08;
$custom-light: #65664b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e08",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 8
  },
  "hsl": {
    "h": 66.316,
    "s": 70.37,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28823,
    "c": 0.05662,
    "h": 115.2
  },
  "luminance": 0.02464
}

Semantic roles & 50–950 ramp

primary
#2A2E08
secondary
#2D256D
accent
#3BED4D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A2E08

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

Preview Lab → · Contrast checker → · Palette generator →

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