#F7EB7B#F7EB7B

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

Color values

HEX#F7EB7B
RGBrgb(247, 235, 123)
HSLhsl(54, 89%, 73%)
HSVhsv(54, 50%, 97%)
CMYKcmyk(0%, 4.9%, 50.2%, 3.1%)
CIE-LABlab(91.96, -10.32, 55.25)
CIE-LCHlch(91.96, 56.21, 100.58°)
OKLaboklab(92.72% -0.0306 0.1307)
OKLCHoklch(92.72% 0.134 103.2)
XYZxyz(71.6433, 80.6232, 30.5230)
Luminance0.8062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EB7B #7B87F7
analogous
#F7AD7B #F7EB7B #C5F77B
triadic
#F7EB7B #7BF7EB #EB7BF7
tetradic
#F7EB7B #7BF7AD #7B87F7 #F77BC5
square
#F7EB7B #7BF7AD #7B87F7 #F77BC5
split-complementary
#F7EB7B #7BC5F7 #AD7BF7
monochromatic
#E9D40E #F4E241 #F7EB7B #FAF4B5 #FDFBE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7EB7B#FFFFFF#000000##000000
##F7EB7B1.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)
#FCE471
Deuteranopia (green-blind)
#FFEB80
Tritanopia (blue-blind)
#FFDED1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f7eb7b;
/* rgb */ color: rgb(247, 235, 123);
/* oklch */ color: oklch(92.7% 0.134 103.2);
Tailwind
colors: {
  custom: {
    50: '#fcf1a4',
    500: '#f7eb7b',
    950: '#000000',
  },
}
SCSS
$custom: #f7eb7b;
$custom-light: #fcf1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f7eb7b",
  "rgb": {
    "r": 247,
    "g": 235,
    "b": 123
  },
  "hsl": {
    "h": 54.194,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.92715,
    "c": 0.13419,
    "h": 103.2
  },
  "luminance": 0.80621
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F7EB7B

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

Preview Lab → · Contrast checker → · Palette generator →

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