#7C7E14#7C7E14

#7C7E14 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#7C7E14
RGBrgb(124, 126, 20)
HSLhsl(61, 73%, 29%)
HSVhsv(61, 84%, 49%)
CMYKcmyk(1.6%, 0%, 84.1%, 50.6%)
CIE-LABlab(50.99, -13.24, 51.66)
CIE-LCHlch(50.99, 53.33, 104.37°)
OKLaboklab(57.29% -0.0424 0.1116)
OKLCHoklch(57.29% 0.119 110.8)
XYZxyz(15.8999, 19.2578, 3.5412)
Luminance0.1926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7E14 #16147E
analogous
#7E4B14 #7C7E14 #477E14
triadic
#7C7E14 #147C7E #7E147C
tetradic
#7C7E14 #147E4B #16147E #7E1447
square
#7C7E14 #147E4B #16147E #7E1447
split-complementary
#7C7E14 #14477E #4B147E
monochromatic
#1A1A04 #48490C #7C7E14 #B0B31C #DBDE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C7E14#FFFFFF#000000##000000
##7C7E141.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: #7c7e14;
/* rgb */ color: rgb(124, 126, 20);
/* oklch */ color: oklch(57.3% 0.119 110.8);
Tailwind
colors: {
  custom: {
    50: '#a5a35e',
    500: '#7c7e14',
    950: '#000000',
  },
}
SCSS
$custom: #7c7e14;
$custom-light: #a5a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7e14",
  "rgb": {
    "r": 124,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 61.132,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.57295,
    "c": 0.11934,
    "h": 110.8
  },
  "luminance": 0.19257
}

Semantic roles & 50–950 ramp

primary
#7C7E14
secondary
#3D3AB3
accent
#38EF3C
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7C7E14

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

Preview Lab → · Contrast checker → · Palette generator →

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