#7C7E15#7C7E15

#7C7E15 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.3% C 0.119 H 110.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7C7E15
RGBrgb(124, 126, 21)
HSLhsl(61, 71%, 29%)
HSVhsv(61, 83%, 49%)
CMYKcmyk(1.6%, 0%, 83.3%, 50.6%)
CIE-LABlab(50.99, -13.20, 51.38)
CIE-LCHlch(50.99, 53.05, 104.41°)
OKLaboklab(57.3% -0.0422 0.1112)
OKLCHoklch(57.3% 0.119 110.8)
XYZxyz(15.9090, 19.2614, 3.5891)
Luminance0.1926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7E15 #17157E
analogous
#7E4C15 #7C7E15 #487E15
triadic
#7C7E15 #157C7E #7E157C
tetradic
#7C7E15 #157E4C #17157E #7E1548
square
#7C7E15 #157E4C #17157E #7E1548
split-complementary
#7C7E15 #15487E #4C157E
monochromatic
#1A1A04 #484A0C #7C7E15 #B0B21E #D9DD31

Accessibility & contrast

On white

4.33
#7C7E15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#7C7E15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7E15
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7E15#FFFFFF#000000##000000
##7C7E151.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#897B1F
Tritanopia (blue-blind)
#85756B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7c7e15;
/* rgb */ color: rgb(124, 126, 21);
/* oklch */ color: oklch(57.3% 0.119 110.8);
Tailwind
colors: {
  custom: {
    50: '#a5a35e',
    500: '#7c7e15',
    950: '#000000',
  },
}
SCSS
$custom: #7c7e15;
$custom-light: #a5a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7e15",
  "rgb": {
    "r": 124,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 61.143,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.57299,
    "c": 0.1189,
    "h": 110.8
  },
  "luminance": 0.19261
}

Semantic roles & 50–950 ramp

primary
#7C7E15
secondary
#3E3CB3
accent
#3AEE3D
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7C7E15

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

Preview Lab → · Contrast checker → · Palette generator →

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