#F7EB7A#F7EB7A

#F7EB7A is a very light, vivid yellow. Relative luminance 0.806; OKLCH L 92.7% C 0.135 H 103.2°. Best body text is #000000 at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#F7EB7A
RGBrgb(247, 235, 122)
HSLhsl(54, 89%, 72%)
HSVhsv(54, 51%, 97%)
CMYKcmyk(0%, 4.9%, 50.6%, 3.1%)
CIE-LABlab(91.95, -10.41, 55.70)
CIE-LCHlch(91.95, 56.67, 100.58°)
OKLaboklab(92.7% -0.0309 0.1316)
OKLCHoklch(92.7% 0.135 103.2)
XYZxyz(71.5810, 80.5983, 30.1950)
Luminance0.8060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EB7A #7A86F7
analogous
#F7AD7A #F7EB7A #C5F77A
triadic
#F7EB7A #7AF7EB #EB7AF7
tetradic
#F7EB7A #7AF7AD #7A86F7 #F77AC5
square
#F7EB7A #7AF7AD #7A86F7 #F77AC5
split-complementary
#F7EB7A #7AC5F7 #AD7AF7
monochromatic
#E9D40E #F4E240 #F7EB7A #FAF4B4 #FDFBE2

Accessibility & contrast

On white

1.23
#F7EB7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.12
#F7EB7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EB7A
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EB7A#FFFFFF#000000##000000
##F7EB7A1.001.2317.1217.12
#FFFFFF1.231.0021.0021.00
#00000017.1221.001.001.00
##00000017.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE470
Deuteranopia (green-blind)
#FFEB7F
Tritanopia (blue-blind)
#FFDED1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f7eb7a;
/* rgb */ color: rgb(247, 235, 122);
/* oklch */ color: oklch(92.7% 0.135 103.2);
Tailwind
colors: {
  custom: {
    50: '#fcf1a3',
    500: '#f7eb7a',
    950: '#000000',
  },
}
SCSS
$custom: #f7eb7a;
$custom-light: #fcf1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f7eb7a",
  "rgb": {
    "r": 247,
    "g": 235,
    "b": 122
  },
  "hsl": {
    "h": 54.24,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.92703,
    "c": 0.13515,
    "h": 103.2
  },
  "luminance": 0.80596
}

Semantic roles & 50–950 ramp

primary
#F7EB7A
secondary
#4250D3
accent
#16E500
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F7EB7A

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

Preview Lab → · Contrast checker → · Palette generator →

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