#274108#274108

#274108 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.2% C 0.087 H 131.6°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#274108
RGBrgb(39, 65, 8)
HSLhsl(87, 78%, 14%)
HSVhsv(87, 88%, 25%)
CMYKcmyk(40%, 0%, 87.7%, 74.5%)
CIE-LABlab(24.42, -20.32, 29.22)
CIE-LCHlch(24.42, 35.59, 124.81°)
OKLaboklab(34.16% -0.0576 0.0648)
OKLCHoklch(34.16% 0.087 131.6)
XYZxyz(2.7708, 4.2293, 0.9000)
Luminance0.0423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274108 #220841
analogous
#413F08 #274108 #0B4108
triadic
#274108 #082741 #410827
tetradic
#274108 #08413F #220841 #41080B
square
#274108 #08413F #220841 #41080B
split-complementary
#274108 #080B41 #3F0841
monochromatic
#101B03 #101B03 #274108 #48770F #68AE15

Accessibility & contrast

On white

11.38
#274108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#274108 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274108
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274108#FFFFFF#000000##FFFFFF
##2741081.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#41390E
Tritanopia (blue-blind)
#283E36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #274108;
/* rgb */ color: rgb(39, 65, 8);
/* oklch */ color: oklch(34.2% 0.087 131.6);
Tailwind
colors: {
  custom: {
    50: '#64764d',
    500: '#274108',
    950: '#000000',
  },
}
SCSS
$custom: #274108;
$custom-light: #64764d;
$custom-dark: #000000;
JSON
{
  "hex": "#274108",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 8
  },
  "hsl": {
    "h": 87.368,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.34159,
    "c": 0.08666,
    "h": 131.6
  },
  "luminance": 0.04229
}

Semantic roles & 50–950 ramp

primary
#274108
secondary
#4E257F
accent
#33F58B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #274108

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

Preview Lab → · Contrast checker → · Palette generator →

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