#7C9013#7C9013

#7C9013 is a mid, vivid yellow. Relative luminance 0.243; OKLCH L 61.6% C 0.140 H 119.3°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7C9013
RGBrgb(124, 144, 19)
HSLhsl(70, 77%, 32%)
HSVhsv(70, 87%, 56%)
CMYKcmyk(13.9%, 0%, 86.8%, 43.5%)
CIE-LABlab(56.37, -22.66, 56.49)
CIE-LCHlch(56.37, 60.86, 111.86°)
OKLaboklab(61.61% -0.0683 0.1219)
OKLCHoklch(61.61% 0.14 119.3)
XYZxyz(18.4034, 24.2787, 4.3327)
Luminance0.2428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9013 #271390
analogous
#906613 #7C9013 #3E9013
triadic
#7C9013 #137C90 #90137C
tetradic
#7C9013 #139066 #271390 #90133E
square
#7C9013 #139066 #271390 #90133E
split-complementary
#7C9013 #133E90 #661390
monochromatic
#1F2405 #4D5A0C #7C9013 #ABC61A #C9E539

Accessibility & contrast

On white

3.59
#7C9013 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#7C9013 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C9013
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C9013#FFFFFF#000000##000000
##7C90131.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#988822
Tritanopia (blue-blind)
#84887A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c9013;
/* rgb */ color: rgb(124, 144, 19);
/* oklch */ color: oklch(61.6% 0.140 119.3);
Tailwind
colors: {
  custom: {
    50: '#a6b060',
    500: '#7c9013',
    950: '#000000',
  },
}
SCSS
$custom: #7c9013;
$custom-light: #a6b060;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9013",
  "rgb": {
    "r": 124,
    "g": 144,
    "b": 19
  },
  "hsl": {
    "h": 69.6,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61613,
    "c": 0.13971,
    "h": 119.3
  },
  "luminance": 0.24279
}

Semantic roles & 50–950 ramp

primary
#7C9013
secondary
#513BC4
accent
#35F353
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7C9013

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

Preview Lab → · Contrast checker → · Palette generator →

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