#27510C#27510C

#27510C is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 39.0% C 0.107 H 136.3°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#27510C
RGBrgb(39, 81, 12)
HSLhsl(97, 74%, 18%)
HSVhsv(97, 85%, 32%)
CMYKcmyk(51.9%, 0%, 85.2%, 68.2%)
CIE-LABlab(30.26, -27.75, 33.25)
CIE-LCHlch(30.26, 43.31, 129.85°)
OKLaboklab(38.96% -0.0773 0.0739)
OKLCHoklch(38.96% 0.107 136.3)
XYZxyz(3.8454, 6.3425, 1.3693)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27510C #360C51
analogous
#49510C #27510C #0C5113
triadic
#27510C #0C2751 #510C27
tetradic
#27510C #0C4951 #360C51 #51130C
square
#27510C #0C4951 #360C51 #51130C
split-complementary
#27510C #130C51 #510C49
monochromatic
#0D1B04 #0D1C04 #27510C #418614 #5ABC1C

Accessibility & contrast

On white

9.26
#27510C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#27510C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27510C
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27510C#FFFFFF#000000##FFFFFF
##27510C1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544900
Deuteranopia (green-blind)
#4F4614
Tritanopia (blue-blind)
#254E44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #27510c;
/* rgb */ color: rgb(39, 81, 12);
/* oklch */ color: oklch(39.0% 0.107 136.3);
Tailwind
colors: {
  custom: {
    50: '#668251',
    500: '#27510c',
    950: '#000000',
  },
}
SCSS
$custom: #27510c;
$custom-light: #668251;
$custom-dark: #000000;
JSON
{
  "hex": "#27510c",
  "rgb": {
    "r": 39,
    "g": 81,
    "b": 12
  },
  "hsl": {
    "h": 96.522,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38957,
    "c": 0.10693,
    "h": 136.3
  },
  "luminance": 0.06343
}

Semantic roles & 50–950 ramp

primary
#27510C
secondary
#672C8C
accent
#37F1A8
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #27510C

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

Preview Lab → · Contrast checker → · Palette generator →

#27510C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva