#6F7D15#6F7D15

#6F7D15 is a mid, vivid yellow. Relative luminance 0.181; OKLCH L 55.9% C 0.122 H 117.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#6F7D15
RGBrgb(111, 125, 21)
HSLhsl(68, 71%, 29%)
HSVhsv(68, 83%, 49%)
CMYKcmyk(11.2%, 0%, 83.2%, 51%)
CIE-LABlab(49.62, -18.62, 49.76)
CIE-LCHlch(49.62, 53.13, 110.52°)
OKLaboklab(55.93% -0.0565 0.1083)
OKLCHoklch(55.93% 0.122 117.5)
XYZxyz(14.0249, 18.1010, 3.4643)
Luminance0.1810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7D15 #23157D
analogous
#7D5715 #6F7D15 #3B7D15
triadic
#6F7D15 #156F7D #7D156F
tetradic
#6F7D15 #157D57 #23157D #7D153B
square
#6F7D15 #157D57 #23157D #7D153B
split-complementary
#6F7D15 #153B7D #57157D
monochromatic
#171A04 #40490C #6F7D15 #9EB11E #C5DC30

Accessibility & contrast

On white

4.55
#6F7D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#6F7D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F7D15
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7D15#FFFFFF#000000##000000
##6F7D151.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#857620
Tritanopia (blue-blind)
#76766A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6f7d15;
/* rgb */ color: rgb(111, 125, 21);
/* oklch */ color: oklch(55.9% 0.122 117.5);
Tailwind
colors: {
  custom: {
    50: '#9ca25d',
    500: '#6f7d15',
    950: '#000000',
  },
}
SCSS
$custom: #6f7d15;
$custom-light: #9ca25d;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7d15",
  "rgb": {
    "r": 111,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 68.077,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55932,
    "c": 0.12209,
    "h": 117.5
  },
  "luminance": 0.18101
}

Semantic roles & 50–950 ramp

primary
#6F7D15
secondary
#4C3CB2
accent
#3AEE52
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0F05
muted
#7E7E79

Preview Lab

Preview with #6F7D15

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

Preview Lab → · Contrast checker → · Palette generator →

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