#2A2F01#2A2F01

#2A2F01 is a dark, moderate yellow. Relative luminance 0.025; OKLCH L 29.0% C 0.065 H 116.0°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#2A2F01
RGBrgb(42, 47, 1)
HSLhsl(67, 96%, 9%)
HSVhsv(67, 98%, 18%)
CMYKcmyk(10.6%, 0%, 97.9%, 81.6%)
CIE-LABlab(18.04, -9.23, 25.21)
CIE-LCHlch(18.04, 26.85, 110.11°)
OKLaboklab(29.03% -0.0286 0.0586)
OKLCHoklch(29.03% 0.065 116)
XYZxyz(1.9769, 2.5275, 0.4124)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2F01 #06012F
analogous
#2F1D01 #2A2F01 #132F01
triadic
#2A2F01 #012A2F #2F012A
tetradic
#2A2F01 #012F1D #06012F #2F0113
square
#2A2F01 #012F1D #06012F #2F0113
split-complementary
#2A2F01 #01132F #1D012F
monochromatic
#1B1E01 #1B1E01 #2A2F01 #606B02 #95A704

Accessibility & contrast

On white

13.95
#2A2F01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2F01
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2F01#FFFFFF#000000##FFFFFF
##2A2F011.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C00
Deuteranopia (green-blind)
#332C04
Tritanopia (blue-blind)
#2E2C27
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2a2f01;
/* rgb */ color: rgb(42, 47, 1);
/* oklch */ color: oklch(29.0% 0.065 116.0);
Tailwind
colors: {
  custom: {
    50: '#656747',
    500: '#2a2f01',
    950: '#000000',
  },
}
SCSS
$custom: #2a2f01;
$custom-light: #656747;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2f01",
  "rgb": {
    "r": 42,
    "g": 47,
    "b": 1
  },
  "hsl": {
    "h": 66.522,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.29033,
    "c": 0.06522,
    "h": 116
  },
  "luminance": 0.02527
}

Semantic roles & 50–950 ramp

primary
#2A2F01
secondary
#211775
accent
#29FF40
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2A2F01

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

Preview Lab → · Contrast checker → · Palette generator →

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