#7C7F15#7C7F15

#7C7F15 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.5% C 0.120 H 111.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7C7F15
RGBrgb(124, 127, 21)
HSLhsl(62, 72%, 29%)
HSVhsv(62, 83%, 50%)
CMYKcmyk(2.4%, 0%, 83.5%, 50.2%)
CIE-LABlab(51.29, -13.74, 51.63)
CIE-LCHlch(51.29, 53.43, 104.90°)
OKLaboklab(57.54% -0.0437 0.1117)
OKLCHoklch(57.54% 0.12 111.4)
XYZxyz(16.0375, 19.5184, 3.6319)
Luminance0.1952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7F15 #18157F
analogous
#7F4D15 #7C7F15 #477F15
triadic
#7C7F15 #157C7F #7F157C
tetradic
#7C7F15 #157F4D #18157F #7F1547
square
#7C7F15 #157F4D #18157F #7F1547
split-complementary
#7C7F15 #15477F #4D157F
monochromatic
#1A1A04 #494A0C #7C7F15 #AFB41E #D8DD31

Accessibility & contrast

On white

4.28
#7C7F15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#7C7F15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7F15
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7F15#FFFFFF#000000##000000
##7C7F151.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8A7B1F
Tritanopia (blue-blind)
#85776C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7c7f15;
/* rgb */ color: rgb(124, 127, 21);
/* oklch */ color: oklch(57.5% 0.120 111.4);
Tailwind
colors: {
  custom: {
    50: '#a5a35e',
    500: '#7c7f15',
    950: '#000000',
  },
}
SCSS
$custom: #7c7f15;
$custom-light: #a5a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7f15",
  "rgb": {
    "r": 124,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 61.698,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.57537,
    "c": 0.11996,
    "h": 111.4
  },
  "luminance": 0.19518
}

Semantic roles & 50–950 ramp

primary
#7C7F15
secondary
#3F3CB4
accent
#39EE3F
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7C7F15

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

Preview Lab → · Contrast checker → · Palette generator →

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