#6D7A12#6D7A12

#6D7A12 is a mid, vivid yellow. Relative luminance 0.172; OKLCH L 55.0% C 0.121 H 117.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#6D7A12
RGBrgb(109, 122, 18)
HSLhsl(68, 74%, 27%)
HSVhsv(68, 85%, 48%)
CMYKcmyk(10.7%, 0%, 85.2%, 52.2%)
CIE-LABlab(48.53, -18.07, 49.60)
CIE-LCHlch(48.53, 52.79, 110.02°)
OKLaboklab(55.01% -0.055 0.1074)
OKLCHoklch(55.01% 0.121 117.1)
XYZxyz(13.3757, 17.2141, 3.1902)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7A12 #1F127A
analogous
#7A5312 #6D7A12 #397A12
triadic
#6D7A12 #126D7A #7A126D
tetradic
#6D7A12 #127A53 #1F127A #7A1239
square
#6D7A12 #127A53 #1F127A #7A1239
split-complementary
#6D7A12 #12397A #53127A
monochromatic
#181B04 #3D450A #6D7A12 #9DAF1A #C8DF27

Accessibility & contrast

On white

4.73
#6D7A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#6D7A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7A12
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7A12#FFFFFF#000000##FFFFFF
##6D7A121.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#82741D
Tritanopia (blue-blind)
#747368
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6d7a12;
/* rgb */ color: rgb(109, 122, 18);
/* oklch */ color: oklch(55.0% 0.121 117.1);
Tailwind
colors: {
  custom: {
    50: '#9aa05c',
    500: '#6d7a12',
    950: '#000000',
  },
}
SCSS
$custom: #6d7a12;
$custom-light: #9aa05c;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7a12",
  "rgb": {
    "r": 109,
    "g": 122,
    "b": 18
  },
  "hsl": {
    "h": 67.5,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.55012,
    "c": 0.12072,
    "h": 117.1
  },
  "luminance": 0.17214
}

Semantic roles & 50–950 ramp

primary
#6D7A12
secondary
#4738B0
accent
#37F14E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6D7A12

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

Preview Lab → · Contrast checker → · Palette generator →

#6D7A12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva