#2A2F06#2A2F06

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

Color values

HEX#2A2F06
RGBrgb(42, 47, 6)
HSLhsl(67, 77%, 10%)
HSVhsv(67, 87%, 18%)
CMYKcmyk(10.6%, 0%, 87.2%, 81.6%)
CIE-LABlab(18.09, -8.81, 23.23)
CIE-LCHlch(18.09, 24.84, 110.76°)
OKLaboklab(29.09% -0.0266 0.0538)
OKLCHoklch(29.09% 0.06 116.3)
XYZxyz(2.0043, 2.5384, 0.5566)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2F06 #0B062F
analogous
#2F1F06 #2A2F06 #152F06
triadic
#2A2F06 #062A2F #2F062A
tetradic
#2A2F06 #062F1F #0B062F #2F0615
square
#2A2F06 #062F1F #0B062F #2F0615
split-complementary
#2A2F06 #06152F #1F062F
monochromatic
#181B03 #181B03 #2A2F06 #5A650D #8B9C14

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A2F06#FFFFFF#000000##FFFFFF
##2A2F061.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)
#332C02
Deuteranopia (green-blind)
#332C09
Tritanopia (blue-blind)
#2D2C27
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2a2f06;
/* rgb */ color: rgb(42, 47, 6);
/* oklch */ color: oklch(29.1% 0.060 116.3);
Tailwind
colors: {
  custom: {
    50: '#65674a',
    500: '#2a2f06',
    950: '#000000',
  },
}
SCSS
$custom: #2a2f06;
$custom-light: #65674a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2f06",
  "rgb": {
    "r": 42,
    "g": 47,
    "b": 6
  },
  "hsl": {
    "h": 67.317,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.29088,
    "c": 0.06004,
    "h": 116.3
  },
  "luminance": 0.02538
}

Semantic roles & 50–950 ramp

primary
#2A2F06
secondary
#2B2170
accent
#34F44B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A2F06

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

Preview Lab → · Contrast checker → · Palette generator →

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