#2A2F05#2A2F05

#2A2F05 is a dark, moderate yellow. Relative luminance 0.025; OKLCH L 29.1% C 0.061 H 116.2°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#2A2F05
RGBrgb(42, 47, 5)
HSLhsl(67, 81%, 10%)
HSVhsv(67, 89%, 18%)
CMYKcmyk(10.6%, 0%, 89.4%, 81.6%)
CIE-LABlab(18.08, -8.89, 23.63)
CIE-LCHlch(18.08, 25.25, 110.63°)
OKLaboklab(29.08% -0.027 0.0548)
OKLCHoklch(29.08% 0.061 116.2)
XYZxyz(1.9988, 2.5363, 0.5278)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2F05 #0A052F
analogous
#2F1F05 #2A2F05 #152F05
triadic
#2A2F05 #052A2F #2F052A
tetradic
#2A2F05 #052F1F #0A052F #2F0515
square
#2A2F05 #052F1F #0A052F #2F0515
split-complementary
#2A2F05 #05152F #1F052F
monochromatic
#191C03 #191C03 #2A2F05 #5B660B #8D9E11

Accessibility & contrast

On white

13.93
#2A2F05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2F05
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2F05#FFFFFF#000000##FFFFFF
##2A2F051.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2f05;
/* rgb */ color: rgb(42, 47, 5);
/* oklch */ color: oklch(29.1% 0.061 116.2);
Tailwind
colors: {
  custom: {
    50: '#656749',
    500: '#2a2f05',
    950: '#000000',
  },
}
SCSS
$custom: #2a2f05;
$custom-light: #656749;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2f05",
  "rgb": {
    "r": 42,
    "g": 47,
    "b": 5
  },
  "hsl": {
    "h": 67.143,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.29077,
    "c": 0.06105,
    "h": 116.2
  },
  "luminance": 0.02536
}

Semantic roles & 50–950 ramp

primary
#2A2F05
secondary
#291F71
accent
#31F748
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A2F05

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

Preview Lab → · Contrast checker → · Palette generator →

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