#2B3006#2B3006

#2B3006 is a dark, moderate yellow. Relative luminance 0.026; OKLCH L 29.5% C 0.061 H 116.2°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#2B3006
RGBrgb(43, 48, 6)
HSLhsl(67, 78%, 11%)
HSVhsv(67, 88%, 19%)
CMYKcmyk(10.4%, 0%, 87.5%, 81.2%)
CIE-LABlab(18.54, -8.90, 23.79)
CIE-LCHlch(18.54, 25.40, 110.52°)
OKLaboklab(29.47% -0.0269 0.0548)
OKLCHoklch(29.47% 0.061 116.2)
XYZxyz(2.0861, 2.6407, 0.5721)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3006 #0B0630
analogous
#302006 #2B3006 #163006
triadic
#2B3006 #062B30 #30062B
tetradic
#2B3006 #063020 #0B0630 #300616
square
#2B3006 #063020 #0B0630 #300616
split-complementary
#2B3006 #061630 #200630
monochromatic
#181B03 #181B03 #2B3006 #5C660D #8C9D14

Accessibility & contrast

On white

13.74
#2B3006 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3006
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3006#FFFFFF#000000##FFFFFF
##2B30061.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b3006;
/* rgb */ color: rgb(43, 48, 6);
/* oklch */ color: oklch(29.5% 0.061 116.2);
Tailwind
colors: {
  custom: {
    50: '#66684a',
    500: '#2b3006',
    950: '#000000',
  },
}
SCSS
$custom: #2b3006;
$custom-light: #66684a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3006",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 6
  },
  "hsl": {
    "h": 67.143,
    "s": 77.778,
    "l": 10.588
  },
  "oklch": {
    "l": 0.29474,
    "c": 0.06103,
    "h": 116.2
  },
  "luminance": 0.02641
}

Semantic roles & 50–950 ramp

primary
#2B3006
secondary
#2B2171
accent
#34F44A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2B3006

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

Preview Lab → · Contrast checker → · Palette generator →

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