#27310A#27310A

#27310A is a dark, moderate yellow-green. Relative luminance 0.026; OKLCH L 29.4% C 0.061 H 122.6°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#27310A
RGBrgb(39, 49, 10)
HSLhsl(75, 66%, 12%)
HSVhsv(75, 80%, 19%)
CMYKcmyk(20.4%, 0%, 79.6%, 80.8%)
CIE-LABlab(18.58, -11.26, 22.12)
CIE-LCHlch(18.58, 24.82, 116.99°)
OKLaboklab(29.43% -0.0326 0.0511)
OKLCHoklch(29.43% 0.061 122.6)
XYZxyz(1.9898, 2.6499, 0.6937)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27310A #140A31
analogous
#31280A #27310A #14310A
triadic
#27310A #0A2731 #310A27
tetradic
#27310A #0A3128 #140A31 #310A14
square
#27310A #0A3128 #140A31 #310A14
split-complementary
#27310A #0A1431 #280A31
monochromatic
#141905 #141905 #27310A #4F6414 #78971F

Accessibility & contrast

On white

13.73
#27310A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#27310A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27310A
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27310A#FFFFFF#000000##FFFFFF
##27310A1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D05
Deuteranopia (green-blind)
#332D0D
Tritanopia (blue-blind)
#292E29
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #27310a;
/* rgb */ color: rgb(39, 49, 10);
/* oklch */ color: oklch(29.4% 0.061 122.6);
Tailwind
colors: {
  custom: {
    50: '#62694c',
    500: '#27310a',
    950: '#000000',
  },
}
SCSS
$custom: #27310a;
$custom-light: #62694c;
$custom-dark: #000000;
JSON
{
  "hex": "#27310a",
  "rgb": {
    "r": 39,
    "g": 49,
    "b": 10
  },
  "hsl": {
    "h": 75.385,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29428,
    "c": 0.06064,
    "h": 122.6
  },
  "luminance": 0.0265
}

Semantic roles & 50–950 ramp

primary
#27310A
secondary
#3A296E
accent
#3FE96A
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #27310A

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

Preview Lab → · Contrast checker → · Palette generator →

#27310A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva