#F7EC7B#F7EC7B

#F7EC7B is a very light, vivid yellow. Relative luminance 0.812; OKLCH L 92.9% C 0.135 H 103.7°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#F7EC7B
RGBrgb(247, 236, 123)
HSLhsl(55, 89%, 73%)
HSVhsv(55, 50%, 97%)
CMYKcmyk(0%, 4.5%, 50.2%, 3.1%)
CIE-LABlab(92.22, -10.82, 55.55)
CIE-LCHlch(92.22, 56.60, 101.02°)
OKLaboklab(92.92% -0.032 0.1313)
OKLCHoklch(92.92% 0.135 103.7)
XYZxyz(71.9304, 81.1974, 30.6187)
Luminance0.8119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EC7B #7B86F7
analogous
#F7AE7B #F7EC7B #C4F77B
triadic
#F7EC7B #7BF7EC #EC7BF7
tetradic
#F7EC7B #7BF7AE #7B86F7 #F77BC4
square
#F7EC7B #7BF7AE #7B86F7 #F77BC4
split-complementary
#F7EC7B #7BC4F7 #AE7BF7
monochromatic
#E9D60E #F4E441 #F7EC7B #FAF4B5 #FDFBE2

Accessibility & contrast

On white

1.22
#F7EC7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.24
#F7EC7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EC7B
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EC7B#FFFFFF#000000##000000
##F7EC7B1.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE571
Deuteranopia (green-blind)
#FFEB80
Tritanopia (blue-blind)
#FFDFD2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f7ec7b;
/* rgb */ color: rgb(247, 236, 123);
/* oklch */ color: oklch(92.9% 0.135 103.7);
Tailwind
colors: {
  custom: {
    50: '#fcf1a4',
    500: '#f7ec7b',
    950: '#000000',
  },
}
SCSS
$custom: #f7ec7b;
$custom-light: #fcf1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ec7b",
  "rgb": {
    "r": 247,
    "g": 236,
    "b": 123
  },
  "hsl": {
    "h": 54.677,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.92918,
    "c": 0.13517,
    "h": 103.7
  },
  "luminance": 0.81195
}

Semantic roles & 50–950 ramp

primary
#F7EC7B
secondary
#4350D3
accent
#15E500
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F7EC7B

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

Preview Lab → · Contrast checker → · Palette generator →

#F7EC7B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva