#7F7718#7F7718

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

Color values

HEX#7F7718
RGBrgb(127, 119, 24)
HSLhsl(55, 68%, 30%)
HSVhsv(55, 81%, 50%)
CMYKcmyk(0%, 6.3%, 81.1%, 50.2%)
CIE-LABlab(49.22, -7.86, 48.99)
CIE-LCHlch(49.22, 49.62, 99.11°)
OKLaboklab(55.96% -0.0272 0.1065)
OKLCHoklch(55.96% 0.11 104.3)
XYZxyz(15.5148, 17.7723, 3.4771)
Luminance0.1777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7718 #18207F
analogous
#7F4418 #7F7718 #547F18
triadic
#7F7718 #187F77 #77187F
tetradic
#7F7718 #187F44 #18207F #7F1854
square
#7F7718 #187F44 #18207F #7F1854
split-complementary
#7F7718 #18547F #44187F
monochromatic
#1A1805 #4C470E #7F7718 #B2A722 #D9CD38

Accessibility & contrast

On white

4.61
#7F7718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#7F7718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7718
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7718#FFFFFF#000000##FFFFFF
##7F77181.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827300
Deuteranopia (green-blind)
#857720
Tritanopia (blue-blind)
#896E65
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7f7718;
/* rgb */ color: rgb(127, 119, 24);
/* oklch */ color: oklch(56.0% 0.110 104.3);
Tailwind
colors: {
  custom: {
    50: '#a89d5e',
    500: '#7f7718',
    950: '#000000',
  },
}
SCSS
$custom: #7f7718;
$custom-light: #a89d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7718",
  "rgb": {
    "r": 127,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 55.34,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55955,
    "c": 0.10991,
    "h": 104.3
  },
  "luminance": 0.17772
}

Semantic roles & 50–950 ramp

primary
#7F7718
secondary
#3F48B3
accent
#4AEB3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7F7718

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

Preview Lab → · Contrast checker → · Palette generator →

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