#2A3006#2A3006

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

Color values

HEX#2A3006
RGBrgb(42, 48, 6)
HSLhsl(69, 78%, 11%)
HSVhsv(69, 88%, 19%)
CMYKcmyk(12.5%, 0%, 87.5%, 81.2%)
CIE-LABlab(18.45, -9.43, 23.66)
CIE-LCHlch(18.45, 25.47, 111.74°)
OKLaboklab(29.38% -0.0283 0.0546)
OKLCHoklch(29.38% 0.061 117.4)
XYZxyz(2.0447, 2.6193, 0.5701)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3006 #0C0630
analogous
#302106 #2A3006 #153006
triadic
#2A3006 #062A30 #30062A
tetradic
#2A3006 #063021 #0C0630 #300615
square
#2A3006 #063021 #0C0630 #300615
split-complementary
#2A3006 #061530 #210630
monochromatic
#181B03 #181B03 #2A3006 #5A660D #899D14

Accessibility & contrast

On white

13.78
#2A3006 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A3006
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3006#FFFFFF#000000##FFFFFF
##2A30061.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a3006;
/* rgb */ color: rgb(42, 48, 6);
/* oklch */ color: oklch(29.4% 0.061 117.4);
Tailwind
colors: {
  custom: {
    50: '#65684a',
    500: '#2a3006',
    950: '#000000',
  },
}
SCSS
$custom: #2a3006;
$custom-light: #65684a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3006",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 6
  },
  "hsl": {
    "h": 68.571,
    "s": 77.778,
    "l": 10.588
  },
  "oklch": {
    "l": 0.29375,
    "c": 0.06146,
    "h": 117.4
  },
  "luminance": 0.02619
}

Semantic roles & 50–950 ramp

primary
#2A3006
secondary
#2D2171
accent
#34F44F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2A3006

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

Preview Lab → · Contrast checker → · Palette generator →

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