#2A3105#2A3105

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

Color values

HEX#2A3105
RGBrgb(42, 49, 5)
HSLhsl(70, 81%, 11%)
HSVhsv(70, 90%, 19%)
CMYKcmyk(14.3%, 0%, 89.8%, 80.8%)
CIE-LABlab(18.80, -10.13, 24.47)
CIE-LCHlch(18.80, 26.49, 112.48°)
OKLaboklab(29.65% -0.0304 0.0562)
OKLCHoklch(29.65% 0.064 118.4)
XYZxyz(2.0806, 2.6998, 0.5551)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3105 #0C0531
analogous
#312205 #2A3105 #143105
triadic
#2A3105 #052A31 #31052A
tetradic
#2A3105 #053122 #0C0531 #310514
square
#2A3105 #053122 #0C0531 #310514
split-complementary
#2A3105 #051431 #220531
monochromatic
#181C03 #181C03 #2A3105 #5A690B #89A010

Accessibility & contrast

On white

13.64
#2A3105 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3105
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3105#FFFFFF#000000##FFFFFF
##2A31051.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a3105;
/* rgb */ color: rgb(42, 49, 5);
/* oklch */ color: oklch(29.7% 0.064 118.4);
Tailwind
colors: {
  custom: {
    50: '#656949',
    500: '#2a3105',
    950: '#000000',
  },
}
SCSS
$custom: #2a3105;
$custom-light: #656949;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3105",
  "rgb": {
    "r": 42,
    "g": 49,
    "b": 5
  },
  "hsl": {
    "h": 69.545,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.29654,
    "c": 0.06387,
    "h": 118.4
  },
  "luminance": 0.027
}

Semantic roles & 50–950 ramp

primary
#2A3105
secondary
#2D1F72
accent
#30F850
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A3105

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

Preview Lab → · Contrast checker → · Palette generator →

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