#2A3102#2A3102

#2A3102 is a dark, moderate yellow. Relative luminance 0.027; OKLCH L 29.6% C 0.067 H 118.2°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#2A3102
RGBrgb(42, 49, 2)
HSLhsl(69, 92%, 10%)
HSVhsv(69, 96%, 19%)
CMYKcmyk(14.3%, 0%, 95.9%, 80.8%)
CIE-LABlab(18.77, -10.38, 25.66)
CIE-LCHlch(18.77, 27.68, 112.01°)
OKLaboklab(29.62% -0.0315 0.0589)
OKLCHoklch(29.62% 0.067 118.2)
XYZxyz(2.0642, 2.6933, 0.4685)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3102 #090231
analogous
#312002 #2A3102 #133102
triadic
#2A3102 #022A31 #31022A
tetradic
#2A3102 #023120 #090231 #310213
square
#2A3102 #023120 #090231 #310213
split-complementary
#2A3102 #021331 #200231
monochromatic
#191D01 #191D01 #2A3102 #5C6C04 #8FA707

Accessibility & contrast

On white

13.65
#2A3102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3102
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3102#FFFFFF#000000##FFFFFF
##2A31021.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a3102;
/* rgb */ color: rgb(42, 49, 2);
/* oklch */ color: oklch(29.6% 0.067 118.2);
Tailwind
colors: {
  custom: {
    50: '#656948',
    500: '#2a3102',
    950: '#000000',
  },
}
SCSS
$custom: #2a3102;
$custom-light: #656948;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3102",
  "rgb": {
    "r": 42,
    "g": 49,
    "b": 2
  },
  "hsl": {
    "h": 68.936,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.29622,
    "c": 0.06684,
    "h": 118.2
  },
  "luminance": 0.02693
}

Semantic roles & 50–950 ramp

primary
#2A3102
secondary
#271975
accent
#29FF49
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060600
muted
#7A7A77

Preview Lab

Preview with #2A3102

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

Preview Lab → · Contrast checker → · Palette generator →

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