#7D9014#7D9014

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

Color values

HEX#7D9014
RGBrgb(125, 144, 20)
HSLhsl(69, 76%, 32%)
HSVhsv(69, 86%, 56%)
CMYKcmyk(13.2%, 0%, 86.1%, 43.5%)
CIE-LABlab(56.44, -22.19, 56.35)
CIE-LCHlch(56.44, 60.56, 111.50°)
OKLaboklab(61.7% -0.067 0.1217)
OKLCHoklch(61.7% 0.139 118.9)
XYZxyz(18.5574, 24.3571, 4.3855)
Luminance0.2436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9014 #271490
analogous
#906514 #7D9014 #3F9014
triadic
#7D9014 #147D90 #90147D
tetradic
#7D9014 #149065 #271490 #90143F
square
#7D9014 #149065 #271490 #90143F
split-complementary
#7D9014 #143F90 #651490
monochromatic
#202505 #4E5A0D #7D9014 #ACC61B #CAE43B

Accessibility & contrast

On white

3.58
#7D9014 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#7D9014 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9014
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9014#FFFFFF#000000##000000
##7D90141.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d9014;
/* rgb */ color: rgb(125, 144, 20);
/* oklch */ color: oklch(61.7% 0.139 118.9);
Tailwind
colors: {
  custom: {
    50: '#a6b060',
    500: '#7d9014',
    950: '#000000',
  },
}
SCSS
$custom: #7d9014;
$custom-light: #a6b060;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9014",
  "rgb": {
    "r": 125,
    "g": 144,
    "b": 20
  },
  "hsl": {
    "h": 69.194,
    "s": 75.61,
    "l": 32.157
  },
  "oklch": {
    "l": 0.61696,
    "c": 0.13891,
    "h": 118.9
  },
  "luminance": 0.24357
}

Semantic roles & 50–950 ramp

primary
#7D9014
secondary
#513DC3
accent
#36F252
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7D9014

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

Preview Lab → · Contrast checker → · Palette generator →

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