#7F7724#7F7724

#7F7724 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.0% C 0.102 H 103.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7F7724
RGBrgb(127, 119, 36)
HSLhsl(55, 56%, 32%)
HSVhsv(55, 72%, 50%)
CMYKcmyk(0%, 6.3%, 71.7%, 50.2%)
CIE-LABlab(49.29, -7.28, 44.54)
CIE-LCHlch(49.29, 45.13, 99.29°)
OKLaboklab(56.04% -0.0243 0.0994)
OKLCHoklch(56.04% 0.102 103.8)
XYZxyz(15.6683, 17.8337, 4.2856)
Luminance0.1783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7724 #242C7F
analogous
#7F4A24 #7F7724 #5A7F24
triadic
#7F7724 #247F77 #77247F
tetradic
#7F7724 #247F4A #242C7F #7F245A
square
#7F7724 #247F4A #242C7F #7F245A
split-complementary
#7F7724 #245A7F #4A247F
monochromatic
#201E09 #4F4A16 #7F7724 #AFA432 #CDC250

Accessibility & contrast

On white

4.60
#7F7724 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7F7724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7724
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7724#FFFFFF#000000##FFFFFF
##7F77241.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827318
Deuteranopia (green-blind)
#857729
Tritanopia (blue-blind)
#896F66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7f7724;
/* rgb */ color: rgb(127, 119, 36);
/* oklch */ color: oklch(56.0% 0.102 103.8);
Tailwind
colors: {
  custom: {
    50: '#a79e64',
    500: '#7f7724',
    950: '#000000',
  },
}
SCSS
$custom: #7f7724;
$custom-light: #a79e64;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7724",
  "rgb": {
    "r": 127,
    "g": 119,
    "b": 36
  },
  "hsl": {
    "h": 54.725,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56038,
    "c": 0.10238,
    "h": 103.8
  },
  "luminance": 0.17833
}

Semantic roles & 50–950 ramp

primary
#7F7724
secondary
#4E56B1
accent
#56DF49
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7F7724

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

Preview Lab → · Contrast checker → · Palette generator →

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