#7C8F13#7C8F13

#7C8F13 is a mid, vivid yellow. Relative luminance 0.240; OKLCH L 61.4% C 0.139 H 118.9°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7C8F13
RGBrgb(124, 143, 19)
HSLhsl(69, 77%, 32%)
HSVhsv(69, 87%, 56%)
CMYKcmyk(13.3%, 0%, 86.7%, 43.9%)
CIE-LABlab(56.06, -22.16, 56.23)
CIE-LCHlch(56.06, 60.44, 111.50°)
OKLaboklab(61.37% -0.067 0.1213)
OKLCHoklch(61.37% 0.139 118.9)
XYZxyz(18.2526, 23.9772, 4.2825)
Luminance0.2398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8F13 #26138F
analogous
#8F6413 #7C8F13 #3E8F13
triadic
#7C8F13 #137C8F #8F137C
tetradic
#7C8F13 #138F64 #26138F #8F133E
square
#7C8F13 #138F64 #26138F #8F133E
split-complementary
#7C8F13 #133E8F #64138F
monochromatic
#1E2305 #4D590C #7C8F13 #ABC51A #CAE538

Accessibility & contrast

On white

3.62
#7C8F13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#7C8F13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8F13
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8F13#FFFFFF#000000##000000
##7C8F131.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#978722
Tritanopia (blue-blind)
#848779
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8f13;
/* rgb */ color: rgb(124, 143, 19);
/* oklch */ color: oklch(61.4% 0.139 118.9);
Tailwind
colors: {
  custom: {
    50: '#a6af60',
    500: '#7c8f13',
    950: '#000000',
  },
}
SCSS
$custom: #7c8f13;
$custom-light: #a6af60;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8f13",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 19
  },
  "hsl": {
    "h": 69.194,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.61371,
    "c": 0.13855,
    "h": 118.9
  },
  "luminance": 0.23977
}

Semantic roles & 50–950 ramp

primary
#7C8F13
secondary
#503BC3
accent
#35F352
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7C8F13

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

Preview Lab → · Contrast checker → · Palette generator →

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