#2A2D01#2A2D01

#2A2D01 is a dark, moderate yellow. Relative luminance 0.024; OKLCH L 28.5% C 0.063 H 113.7°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#2A2D01
RGBrgb(42, 45, 1)
HSLhsl(64, 96%, 9%)
HSVhsv(64, 98%, 18%)
CMYKcmyk(6.7%, 0%, 97.8%, 82.4%)
CIE-LABlab(17.33, -7.98, 24.35)
CIE-LCHlch(17.33, 25.62, 108.14°)
OKLaboklab(28.46% -0.0252 0.0574)
OKLCHoklch(28.46% 0.063 113.7)
XYZxyz(1.8988, 2.3712, 0.3864)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2D01 #04012D
analogous
#2D1A01 #2A2D01 #142D01
triadic
#2A2D01 #012A2D #2D012A
tetradic
#2A2D01 #012D1A #04012D #2D0114
square
#2A2D01 #012D1A #04012D #2D0114
split-complementary
#2A2D01 #01142D #1A012D
monochromatic
#1C1E01 #1C1E01 #2A2D01 #626902 #9AA504

Accessibility & contrast

On white

14.25
#2A2D01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2A2D01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2D01
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2D01#FFFFFF#000000##FFFFFF
##2A2D011.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#312B04
Tritanopia (blue-blind)
#2E2925
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a2d01;
/* rgb */ color: rgb(42, 45, 1);
/* oklch */ color: oklch(28.5% 0.063 113.7);
Tailwind
colors: {
  custom: {
    50: '#656547',
    500: '#2a2d01',
    950: '#000000',
  },
}
SCSS
$custom: #2a2d01;
$custom-light: #656547;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2d01",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 1
  },
  "hsl": {
    "h": 64.091,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.28457,
    "c": 0.06264,
    "h": 113.7
  },
  "luminance": 0.02371
}

Semantic roles & 50–950 ramp

primary
#2A2D01
secondary
#1D1773
accent
#29FF37
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060500
muted
#7A7A77

Preview Lab

Preview with #2A2D01

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

Preview Lab → · Contrast checker → · Palette generator →

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