#273102#273102

#273102 is a dark, moderate yellow-green. Relative luminance 0.026; OKLCH L 29.3% C 0.068 H 121.4°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#273102
RGBrgb(39, 49, 2)
HSLhsl(73, 92%, 10%)
HSVhsv(73, 96%, 19%)
CMYKcmyk(20.4%, 0%, 95.9%, 80.8%)
CIE-LABlab(18.51, -11.95, 25.29)
CIE-LCHlch(18.51, 27.97, 115.30°)
OKLaboklab(29.34% -0.0357 0.0584)
OKLCHoklch(29.34% 0.068 121.4)
XYZxyz(1.9460, 2.6323, 0.4630)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#273102 #0C0231
analogous
#312402 #273102 #0F3102
triadic
#273102 #022731 #310227
tetradic
#273102 #023124 #0C0231 #31020F
square
#273102 #023124 #0C0231 #31020F
split-complementary
#273102 #020F31 #240231
monochromatic
#171D01 #171D01 #273102 #566C04 #85A707

Accessibility & contrast

On white

13.76
#273102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#273102 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #273102
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##273102#FFFFFF#000000##FFFFFF
##2731021.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352D00
Deuteranopia (green-blind)
#342D05
Tritanopia (blue-blind)
#2A2E28
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #273102;
/* rgb */ color: rgb(39, 49, 2);
/* oklch */ color: oklch(29.3% 0.068 121.4);
Tailwind
colors: {
  custom: {
    50: '#636948',
    500: '#273102',
    950: '#000000',
  },
}
SCSS
$custom: #273102;
$custom-light: #636948;
$custom-dark: #000000;
JSON
{
  "hex": "#273102",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 2
  },
  "hsl": {
    "h": 72.766,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.29342,
    "c": 0.0684,
    "h": 121.4
  },
  "luminance": 0.02632
}

Semantic roles & 50–950 ramp

primary
#273102
secondary
#2D1975
accent
#29FF56
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#050600
muted
#7A7A77

Preview Lab

Preview with #273102

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

Preview Lab → · Contrast checker → · Palette generator →

#273102 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva