#6B760F#6B760F

#6B760F is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 53.8% C 0.118 H 116.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#6B760F
RGBrgb(107, 118, 15)
HSLhsl(66, 77%, 26%)
HSVhsv(66, 87%, 46%)
CMYKcmyk(9.3%, 0%, 87.3%, 53.7%)
CIE-LABlab(47.13, -16.97, 49.13)
CIE-LCHlch(47.13, 51.98, 109.05°)
OKLaboklab(53.84% -0.0521 0.106)
OKLCHoklch(53.84% 0.118 116.2)
XYZxyz(12.6284, 16.1173, 2.8975)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B760F #1A0F76
analogous
#764D0F #6B760F #37760F
triadic
#6B760F #0F6B76 #760F6B
tetradic
#6B760F #0F764D #1A0F76 #760F37
square
#6B760F #0F764D #1A0F76 #760F37
split-complementary
#6B760F #0F3776 #4D0F76
monochromatic
#191B03 #3A4008 #6B760F #9CAC16 #CDE21D

Accessibility & contrast

On white

4.97
#6B760F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#6B760F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B760F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B760F#FFFFFF#000000##FFFFFF
##6B760F1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#7E701B
Tritanopia (blue-blind)
#726F64
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6b760f;
/* rgb */ color: rgb(107, 118, 15);
/* oklch */ color: oklch(53.8% 0.118 116.2);
Tailwind
colors: {
  custom: {
    50: '#999d5a',
    500: '#6b760f',
    950: '#000000',
  },
}
SCSS
$custom: #6b760f;
$custom-light: #999d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b760f",
  "rgb": {
    "r": 107,
    "g": 118,
    "b": 15
  },
  "hsl": {
    "h": 66.408,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.53842,
    "c": 0.1181,
    "h": 116.2
  },
  "luminance": 0.16117
}

Semantic roles & 50–950 ramp

primary
#6B760F
secondary
#4033AD
accent
#34F448
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6B760F

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

Preview Lab → · Contrast checker → · Palette generator →

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