#2B270E#2B270E

#2B270E is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.0% C 0.040 H 100.3°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#2B270E
RGBrgb(43, 39, 14)
HSLhsl(52, 51%, 11%)
HSVhsv(52, 67%, 17%)
CMYKcmyk(0%, 9.3%, 67.4%, 83.1%)
CIE-LABlab(15.47, -2.34, 16.57)
CIE-LCHlch(15.47, 16.74, 98.03°)
OKLaboklab(27.05% -0.0073 0.0398)
OKLCHoklch(27.05% 0.04 100.3)
XYZxyz(1.8011, 1.9964, 0.7059)
Luminance0.0200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B270E #0E122B
analogous
#2B180E #2B270E #202B0E
triadic
#2B270E #0E2B27 #270E2B
tetradic
#2B270E #0E2B18 #0E122B #2B0E20
square
#2B270E #0E2B18 #0E122B #2B0E20
split-complementary
#2B270E #0E202B #180E2B
monochromatic
#171508 #171508 #2B270E #59511D #877B2C

Accessibility & contrast

On white

15.01
#2B270E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2B270E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B270E
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B270E#FFFFFF#000000##FFFFFF
##2B270E1.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B260C
Deuteranopia (green-blind)
#2C270F
Tritanopia (blue-blind)
#2F2421
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2b270e;
/* rgb */ color: rgb(43, 39, 14);
/* oklch */ color: oklch(27.0% 0.040 100.3);
Tailwind
colors: {
  custom: {
    50: '#65604d',
    500: '#2b270e',
    950: '#000000',
  },
}
SCSS
$custom: #2b270e;
$custom-light: #65604d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b270e",
  "rgb": {
    "r": 43,
    "g": 39,
    "b": 14
  },
  "hsl": {
    "h": 51.724,
    "s": 50.877,
    "l": 11.176
  },
  "oklch": {
    "l": 0.27048,
    "c": 0.04042,
    "h": 100.3
  },
  "luminance": 0.01996
}

Semantic roles & 50–950 ramp

primary
#2B270E
secondary
#303765
accent
#61DA4D
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2B270E

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

Preview Lab → · Contrast checker → · Palette generator →

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