#2A3008#2A3008

#2A3008 is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.4% C 0.060 H 117.6°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#2A3008
RGBrgb(42, 48, 8)
HSLhsl(69, 71%, 11%)
HSVhsv(69, 83%, 19%)
CMYKcmyk(12.5%, 0%, 83.3%, 81.2%)
CIE-LABlab(18.47, -9.27, 22.86)
CIE-LCHlch(18.47, 24.67, 112.06°)
OKLaboklab(29.4% -0.0276 0.0528)
OKLCHoklch(29.4% 0.06 117.6)
XYZxyz(2.0557, 2.6237, 0.6278)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3008 #0E0830
analogous
#302208 #2A3008 #163008
triadic
#2A3008 #082A30 #30082A
tetradic
#2A3008 #083022 #0E0830 #300816
square
#2A3008 #083022 #0E0830 #300816
split-complementary
#2A3008 #081630 #220830
monochromatic
#171A04 #171A04 #2A3008 #586411 #869919

Accessibility & contrast

On white

13.77
#2A3008 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2A3008 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3008
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3008#FFFFFF#000000##FFFFFF
##2A30081.0013.771.5213.77
#FFFFFF13.771.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D03
Deuteranopia (green-blind)
#332D0B
Tritanopia (blue-blind)
#2D2D28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2a3008;
/* rgb */ color: rgb(42, 48, 8);
/* oklch */ color: oklch(29.4% 0.060 117.6);
Tailwind
colors: {
  custom: {
    50: '#65684b',
    500: '#2a3008',
    950: '#000000',
  },
}
SCSS
$custom: #2a3008;
$custom-light: #65684b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3008",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 8
  },
  "hsl": {
    "h": 69,
    "s": 71.429,
    "l": 10.98
  },
  "oklch": {
    "l": 0.29397,
    "c": 0.05953,
    "h": 117.6
  },
  "luminance": 0.02624
}

Semantic roles & 50–950 ramp

primary
#2A3008
secondary
#30256F
accent
#3AEE55
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A3008

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

Preview Lab → · Contrast checker → · Palette generator →

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