#2B3008#2B3008

#2B3008 is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.5% C 0.059 H 116.3°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#2B3008
RGBrgb(43, 48, 8)
HSLhsl(68, 71%, 11%)
HSVhsv(68, 83%, 19%)
CMYKcmyk(10.4%, 0%, 83.3%, 81.2%)
CIE-LABlab(18.56, -8.74, 23.00)
CIE-LCHlch(18.56, 24.60, 110.81°)
OKLaboklab(29.49% -0.0262 0.053)
OKLCHoklch(29.49% 0.059 116.3)
XYZxyz(2.0971, 2.6451, 0.6298)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3008 #0D0830
analogous
#302108 #2B3008 #173008
triadic
#2B3008 #082B30 #30082B
tetradic
#2B3008 #083021 #0D0830 #300817
square
#2B3008 #083021 #0D0830 #300817
split-complementary
#2B3008 #081730 #210830
monochromatic
#171A04 #171A04 #2B3008 #5A6411 #899919

Accessibility & contrast

On white

13.73
#2B3008 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2B3008 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3008
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3008#FFFFFF#000000##FFFFFF
##2B30081.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b3008;
/* rgb */ color: rgb(43, 48, 8);
/* oklch */ color: oklch(29.5% 0.059 116.3);
Tailwind
colors: {
  custom: {
    50: '#66684b',
    500: '#2b3008',
    950: '#000000',
  },
}
SCSS
$custom: #2b3008;
$custom-light: #66684b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3008",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 8
  },
  "hsl": {
    "h": 67.5,
    "s": 71.429,
    "l": 10.98
  },
  "oklch": {
    "l": 0.29495,
    "c": 0.0591,
    "h": 116.3
  },
  "luminance": 0.02645
}

Semantic roles & 50–950 ramp

primary
#2B3008
secondary
#2E256F
accent
#3AEE50
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B3008

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

Preview Lab → · Contrast checker → · Palette generator →

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