#27510F#27510F

#27510F is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.0% C 0.105 H 136.7°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#27510F
RGBrgb(39, 81, 15)
HSLhsl(98, 69%, 19%)
HSVhsv(98, 81%, 32%)
CMYKcmyk(51.9%, 0%, 81.5%, 68.2%)
CIE-LABlab(30.28, -27.54, 32.13)
CIE-LCHlch(30.28, 42.32, 130.60°)
OKLaboklab(38.98% -0.0765 0.072)
OKLCHoklch(38.98% 0.105 136.7)
XYZxyz(3.8652, 6.3504, 1.4739)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27510F #390F51
analogous
#48510F #27510F #0F5118
triadic
#27510F #0F2751 #510F27
tetradic
#27510F #0F4851 #390F51 #51180F
square
#27510F #0F4851 #390F51 #51180F
split-complementary
#27510F #180F51 #510F48
monochromatic
#0C1A05 #0E1D05 #27510F #408519 #59B822

Accessibility & contrast

On white

9.25
#27510F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27510F
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27510F#FFFFFF#000000##FFFFFF
##27510F1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27510f;
/* rgb */ color: rgb(39, 81, 15);
/* oklch */ color: oklch(39.0% 0.105 136.7);
Tailwind
colors: {
  custom: {
    50: '#668253',
    500: '#27510f',
    950: '#000000',
  },
}
SCSS
$custom: #27510f;
$custom-light: #668253;
$custom-dark: #000000;
JSON
{
  "hex": "#27510f",
  "rgb": {
    "r": 39,
    "g": 81,
    "b": 15
  },
  "hsl": {
    "h": 98.182,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38979,
    "c": 0.10509,
    "h": 136.7
  },
  "luminance": 0.06351
}

Semantic roles & 50–950 ramp

primary
#27510F
secondary
#6A318B
accent
#3CECAC
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #27510F

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

Preview Lab → · Contrast checker → · Palette generator →

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