#7C9014#7C9014

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

Color values

HEX#7C9014
RGBrgb(124, 144, 20)
HSLhsl(70, 76%, 32%)
HSVhsv(70, 86%, 56%)
CMYKcmyk(13.9%, 0%, 86.1%, 43.5%)
CIE-LABlab(56.37, -22.63, 56.25)
CIE-LCHlch(56.37, 60.63, 111.91°)
OKLaboklab(61.62% -0.0682 0.1215)
OKLCHoklch(61.62% 0.139 119.3)
XYZxyz(18.4121, 24.2822, 4.3787)
Luminance0.2428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C9014 #281490
analogous
#906614 #7C9014 #3E9014
triadic
#7C9014 #147C90 #90147C
tetradic
#7C9014 #149066 #281490 #90143E
square
#7C9014 #149066 #281490 #90143E
split-complementary
#7C9014 #143E90 #661490
monochromatic
#1F2505 #4E5A0D #7C9014 #AAC61B #C8E43B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C9014#FFFFFF#000000##000000
##7C90141.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: #7c9014;
/* rgb */ color: rgb(124, 144, 20);
/* oklch */ color: oklch(61.6% 0.139 119.3);
Tailwind
colors: {
  custom: {
    50: '#a6b060',
    500: '#7c9014',
    950: '#000000',
  },
}
SCSS
$custom: #7c9014;
$custom-light: #a6b060;
$custom-dark: #000000;
JSON
{
  "hex": "#7c9014",
  "rgb": {
    "r": 124,
    "g": 144,
    "b": 20
  },
  "hsl": {
    "h": 69.677,
    "s": 75.61,
    "l": 32.157
  },
  "oklch": {
    "l": 0.61617,
    "c": 0.13933,
    "h": 119.3
  },
  "luminance": 0.24282
}

Semantic roles & 50–950 ramp

primary
#7C9014
secondary
#523DC3
accent
#36F254
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7C9014

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

Preview Lab → · Contrast checker → · Palette generator →

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