#7F7326#7F7326

#7F7326 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 55.1% C 0.097 H 100.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7F7326
RGBrgb(127, 115, 38)
HSLhsl(52, 54%, 32%)
HSVhsv(52, 70%, 50%)
CMYKcmyk(0%, 9.4%, 70.1%, 50.2%)
CIE-LABlab(48.15, -4.92, 42.52)
CIE-LCHlch(48.15, 42.80, 96.60°)
OKLaboklab(55.14% -0.0174 0.0955)
OKLCHoklch(55.14% 0.097 100.3)
XYZxyz(15.2336, 16.9141, 4.2957)
Luminance0.1691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7326 #26327F
analogous
#7F4726 #7F7326 #5F7F26
triadic
#7F7326 #267F73 #73267F
tetradic
#7F7326 #267F47 #26327F #7F265F
square
#7F7326 #267F47 #26327F #7F265F
split-complementary
#7F7326 #265F7F #47267F
monochromatic
#211E0A #504818 #7F7326 #AE9E34 #CCBC54

Accessibility & contrast

On white

4.79
#7F7326 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7F7326 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7326
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7326#FFFFFF#000000##FFFFFF
##7F73261.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701C
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#896B63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7f7326;
/* rgb */ color: rgb(127, 115, 38);
/* oklch */ color: oklch(55.1% 0.097 100.3);
Tailwind
colors: {
  custom: {
    50: '#a79b65',
    500: '#7f7326',
    950: '#000000',
  },
}
SCSS
$custom: #7f7326;
$custom-light: #a79b65;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7326",
  "rgb": {
    "r": 127,
    "g": 115,
    "b": 38
  },
  "hsl": {
    "h": 51.91,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55136,
    "c": 0.09711,
    "h": 100.3
  },
  "luminance": 0.16913
}

Semantic roles & 50–950 ramp

primary
#7F7326
secondary
#515DB0
accent
#5EDD4A
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7F7326

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

Preview Lab → · Contrast checker → · Palette generator →

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