#274107#274107

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

Color values

HEX#274107
RGBrgb(39, 65, 7)
HSLhsl(87, 81%, 14%)
HSVhsv(87, 89%, 25%)
CMYKcmyk(40%, 0%, 89.2%, 74.5%)
CIE-LABlab(24.41, -20.39, 29.62)
CIE-LCHlch(24.41, 35.96, 124.55°)
OKLaboklab(34.15% -0.0579 0.0654)
OKLCHoklch(34.15% 0.087 131.5)
XYZxyz(2.7653, 4.2272, 0.8712)
Luminance0.0423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274107 #210741
analogous
#413E07 #274107 #0A4107
triadic
#274107 #072741 #410727
tetradic
#274107 #07413E #210741 #41070A
square
#274107 #07413E #210741 #41070A
split-complementary
#274107 #070A41 #3E0741
monochromatic
#111C03 #111C03 #274107 #48780D #69B013

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##274107#FFFFFF#000000##FFFFFF
##2741071.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)
#41390D
Tritanopia (blue-blind)
#283E36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #274107;
/* rgb */ color: rgb(39, 65, 7);
/* oklch */ color: oklch(34.2% 0.087 131.5);
Tailwind
colors: {
  custom: {
    50: '#64764c',
    500: '#274107',
    950: '#000000',
  },
}
SCSS
$custom: #274107;
$custom-light: #64764c;
$custom-dark: #000000;
JSON
{
  "hex": "#274107",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 7
  },
  "hsl": {
    "h": 86.897,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.34151,
    "c": 0.08736,
    "h": 131.5
  },
  "luminance": 0.04227
}

Semantic roles & 50–950 ramp

primary
#274107
secondary
#4D2480
accent
#31F78A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #274107

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

Preview Lab → · Contrast checker → · Palette generator →

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