#2A2E01#2A2E01

#2A2E01 is a dark, moderate yellow. Relative luminance 0.024; OKLCH L 28.7% C 0.064 H 114.9°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#2A2E01
RGBrgb(42, 46, 1)
HSLhsl(65, 96%, 9%)
HSVhsv(65, 98%, 18%)
CMYKcmyk(8.7%, 0%, 97.8%, 82%)
CIE-LABlab(17.68, -8.61, 24.78)
CIE-LCHlch(17.68, 26.23, 109.15°)
OKLaboklab(28.74% -0.0269 0.058)
OKLCHoklch(28.74% 0.064 114.9)
XYZxyz(1.9374, 2.4485, 0.3993)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E01 #05012E
analogous
#2E1C01 #2A2E01 #142E01
triadic
#2A2E01 #012A2E #2E012A
tetradic
#2A2E01 #012E1C #05012E #2E0114
square
#2A2E01 #012E1C #05012E #2E0114
split-complementary
#2A2E01 #01142E #1C012E
monochromatic
#1B1E01 #1B1E01 #2A2E01 #616A02 #97A604

Accessibility & contrast

On white

14.10
#2A2E01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2E01
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E01#FFFFFF#000000##FFFFFF
##2A2E011.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#322C04
Tritanopia (blue-blind)
#2E2B26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a2e01;
/* rgb */ color: rgb(42, 46, 1);
/* oklch */ color: oklch(28.7% 0.064 114.9);
Tailwind
colors: {
  custom: {
    50: '#656647',
    500: '#2a2e01',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e01;
$custom-light: #656647;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e01",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 1
  },
  "hsl": {
    "h": 65.333,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.28744,
    "c": 0.06392,
    "h": 114.9
  },
  "luminance": 0.02448
}

Semantic roles & 50–950 ramp

primary
#2A2E01
secondary
#1F1774
accent
#29FF3C
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2A2E01

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

Preview Lab → · Contrast checker → · Palette generator →

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