#7F7328#7F7328

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

Color values

HEX#7F7328
RGBrgb(127, 115, 40)
HSLhsl(52, 52%, 33%)
HSVhsv(52, 69%, 50%)
CMYKcmyk(0%, 9.4%, 68.5%, 50.2%)
CIE-LABlab(48.17, -4.79, 41.64)
CIE-LCHlch(48.17, 41.92, 96.57°)
OKLaboklab(55.16% -0.0168 0.094)
OKLCHoklch(55.16% 0.096 100.1)
XYZxyz(15.2668, 16.9274, 4.4702)
Luminance0.1693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7328 #28347F
analogous
#7F4728 #7F7328 #5F7F28
triadic
#7F7328 #287F73 #73287F
tetradic
#7F7328 #287F47 #28347F #7F285F
square
#7F7328 #287F47 #28347F #7F285F
split-complementary
#7F7328 #285F7F #47287F
monochromatic
#221F0B #504919 #7F7328 #AE9D37 #CABA57

Accessibility & contrast

On white

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

On black

4.39
#7F7328 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7F7328#FFFFFF#000000##FFFFFF
##7F73281.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f7328;
/* rgb */ color: rgb(127, 115, 40);
/* oklch */ color: oklch(55.2% 0.096 100.1);
Tailwind
colors: {
  custom: {
    50: '#a79b66',
    500: '#7f7328',
    950: '#000000',
  },
}
SCSS
$custom: #7f7328;
$custom-light: #a79b66;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7328",
  "rgb": {
    "r": 127,
    "g": 115,
    "b": 40
  },
  "hsl": {
    "h": 51.724,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55155,
    "c": 0.09552,
    "h": 100.1
  },
  "luminance": 0.16927
}

Semantic roles & 50–950 ramp

primary
#7F7328
secondary
#5460AF
accent
#60DC4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7F7328

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

Preview Lab → · Contrast checker → · Palette generator →

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