#6F6915#6F6915

#6F6915 is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 51.1% C 0.100 H 105.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#6F6915
RGBrgb(111, 105, 21)
HSLhsl(56, 68%, 26%)
HSVhsv(56, 81%, 44%)
CMYKcmyk(0%, 5.4%, 81.1%, 56.5%)
CIE-LABlab(43.56, -7.70, 44.34)
CIE-LCHlch(43.56, 45.01, 99.85°)
OKLaboklab(51.08% -0.0262 0.0967)
OKLCHoklch(51.08% 0.1 105.2)
XYZxyz(11.7430, 13.5373, 2.7037)
Luminance0.1354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F6915 #151B6F
analogous
#6F3C15 #6F6915 #486F15
triadic
#6F6915 #156F69 #69156F
tetradic
#6F6915 #156F3C #151B6F #6F1548
square
#6F6915 #156F3C #151B6F #6F1548
split-complementary
#6F6915 #15486F #3C156F
monochromatic
#1A1805 #3C380B #6F6915 #A29A1F #D6CA28

Accessibility & contrast

On white

5.66
#6F6915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#6F6915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F6915
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F6915#FFFFFF#000000##FFFFFF
##6F69151.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736502
Deuteranopia (green-blind)
#75691C
Tritanopia (blue-blind)
#786159
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6f6915;
/* rgb */ color: rgb(111, 105, 21);
/* oklch */ color: oklch(51.1% 0.100 105.2);
Tailwind
colors: {
  custom: {
    50: '#9c935b',
    500: '#6f6915',
    950: '#000000',
  },
}
SCSS
$custom: #6f6915;
$custom-light: #9c935b;
$custom-dark: #000000;
JSON
{
  "hex": "#6f6915",
  "rgb": {
    "r": 111,
    "g": 105,
    "b": 21
  },
  "hsl": {
    "h": 56,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.51083,
    "c": 0.10015,
    "h": 105.2
  },
  "luminance": 0.13537
}

Semantic roles & 50–950 ramp

primary
#6F6915
secondary
#3A42A5
accent
#48EB3D
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0F0D04
muted
#7E7E79

Preview Lab

Preview with #6F6915

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

Preview Lab → · Contrast checker → · Palette generator →

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