#274B0F#274B0F

#274B0F is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.2% C 0.097 H 135.6°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#274B0F
RGBrgb(39, 75, 15)
HSLhsl(96, 67%, 18%)
HSVhsv(96, 80%, 29%)
CMYKcmyk(48%, 0%, 80%, 70.6%)
CIE-LABlab(28.11, -24.75, 29.97)
CIE-LCHlch(28.11, 38.87, 129.55°)
OKLaboklab(37.2% -0.069 0.0675)
OKLCHoklch(37.2% 0.097 135.6)
XYZxyz(3.4389, 5.4978, 1.3318)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274B0F #330F4B
analogous
#454B0F #274B0F #0F4B15
triadic
#274B0F #0F274B #4B0F27
tetradic
#274B0F #0F454B #330F4B #4B150F
square
#274B0F #0F454B #330F4B #4B150F
split-complementary
#274B0F #150F4B #4B0F45
monochromatic
#0D1A05 #0D1A05 #274B0F #427E19 #5CB123

Accessibility & contrast

On white

10.00
#274B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#274B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274B0F
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274B0F#FFFFFF#000000##FFFFFF
##274B0F1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4405
Deuteranopia (green-blind)
#494115
Tritanopia (blue-blind)
#26483F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #274b0f;
/* rgb */ color: rgb(39, 75, 15);
/* oklch */ color: oklch(37.2% 0.097 135.6);
Tailwind
colors: {
  custom: {
    50: '#657d52',
    500: '#274b0f',
    950: '#000000',
  },
}
SCSS
$custom: #274b0f;
$custom-light: #657d52;
$custom-dark: #000000;
JSON
{
  "hex": "#274b0f",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 15
  },
  "hsl": {
    "h": 96,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37196,
    "c": 0.09653,
    "h": 135.6
  },
  "luminance": 0.05498
}

Semantic roles & 50–950 ramp

primary
#274B0F
secondary
#633085
accent
#3EEAA5
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #274B0F

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

Preview Lab → · Contrast checker → · Palette generator →

#274B0F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva