#7F6A28#7F6A28

#7F6A28 is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 53.1% C 0.088 H 91.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7F6A28
RGBrgb(127, 106, 40)
HSLhsl(46, 52%, 33%)
HSVhsv(46, 69%, 50%)
CMYKcmyk(0%, 16.5%, 68.5%, 50.2%)
CIE-LABlab(45.60, 0.36, 38.93)
CIE-LCHlch(45.60, 38.93, 89.47°)
OKLaboklab(53.12% -0.002 0.0883)
OKLCHoklch(53.12% 0.088 91.3)
XYZxyz(14.2902, 14.9741, 4.1447)
Luminance0.1497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6A28 #283D7F
analogous
#7F3E28 #7F6A28 #697F28
triadic
#7F6A28 #287F6A #6A287F
tetradic
#7F6A28 #287F3E #283D7F #7F2869
square
#7F6A28 #287F3E #283D7F #7F2869
split-complementary
#7F6A28 #28697F #3E287F
monochromatic
#221C0B #504319 #7F6A28 #AE9137 #CAAE57

Accessibility & contrast

On white

5.26
#7F6A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7F6A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6A28
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6A28#FFFFFF#000000##FFFFFF
##7F6A281.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766820
Deuteranopia (green-blind)
#7B6E2B
Tritanopia (blue-blind)
#89615C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7f6a28;
/* rgb */ color: rgb(127, 106, 40);
/* oklch */ color: oklch(53.1% 0.088 91.3);
Tailwind
colors: {
  custom: {
    50: '#a79465',
    500: '#7f6a28',
    950: '#000000',
  },
}
SCSS
$custom: #7f6a28;
$custom-light: #a79465;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6a28",
  "rgb": {
    "r": 127,
    "g": 106,
    "b": 40
  },
  "hsl": {
    "h": 45.517,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53121,
    "c": 0.0883,
    "h": 91.3
  },
  "luminance": 0.14973
}

Semantic roles & 50–950 ramp

primary
#7F6A28
secondary
#546AAF
accent
#6FDC4C
background
#FAF9F6
surface
#F4F1EB
border
#CECBC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7F6A28

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

Preview Lab → · Contrast checker → · Palette generator →

#7F6A28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva