#2A3106#2A3106

#2A3106 is a dark, moderate yellow. Relative luminance 0.027; OKLCH L 29.7% C 0.063 H 118.5°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#2A3106
RGBrgb(42, 49, 6)
HSLhsl(70, 78%, 11%)
HSVhsv(70, 88%, 19%)
CMYKcmyk(14.3%, 0%, 87.8%, 80.8%)
CIE-LABlab(18.81, -10.05, 24.08)
CIE-LCHlch(18.81, 26.09, 112.65°)
OKLaboklab(29.66% -0.03 0.0553)
OKLCHoklch(29.66% 0.063 118.5)
XYZxyz(2.0861, 2.7020, 0.5839)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3106 #0D0631
analogous
#312206 #2A3106 #143106
triadic
#2A3106 #062A31 #31062A
tetradic
#2A3106 #063122 #0D0631 #310614
square
#2A3106 #063122 #0D0631 #310614
split-complementary
#2A3106 #061431 #220631
monochromatic
#171B03 #171B03 #2A3106 #59680D #879E13

Accessibility & contrast

On white

13.63
#2A3106 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2A3106 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3106
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3106#FFFFFF#000000##FFFFFF
##2A31061.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E01
Deuteranopia (green-blind)
#342E09
Tritanopia (blue-blind)
#2D2E29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2a3106;
/* rgb */ color: rgb(42, 49, 6);
/* oklch */ color: oklch(29.7% 0.063 118.5);
Tailwind
colors: {
  custom: {
    50: '#65694a',
    500: '#2a3106',
    950: '#000000',
  },
}
SCSS
$custom: #2a3106;
$custom-light: #65694a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3106",
  "rgb": {
    "r": 42,
    "g": 49,
    "b": 6
  },
  "hsl": {
    "h": 69.767,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.29664,
    "c": 0.0629,
    "h": 118.5
  },
  "luminance": 0.02702
}

Semantic roles & 50–950 ramp

primary
#2A3106
secondary
#2E2172
accent
#33F553
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A3106

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

Preview Lab → · Contrast checker → · Palette generator →

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