#F7ED7B#F7ED7B

#F7ED7B is a very light, vivid yellow. Relative luminance 0.818; OKLCH L 93.1% C 0.136 H 104.2°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#F7ED7B
RGBrgb(247, 237, 123)
HSLhsl(55, 89%, 73%)
HSVhsv(55, 50%, 97%)
CMYKcmyk(0%, 4%, 50.2%, 3.1%)
CIE-LABlab(92.48, -11.31, 55.86)
CIE-LCHlch(92.48, 56.99, 101.45°)
OKLaboklab(93.12% -0.0334 0.132)
OKLCHoklch(93.12% 0.136 104.2)
XYZxyz(72.2191, 81.7748, 30.7149)
Luminance0.8177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7ED7B #7B85F7
analogous
#F7AF7B #F7ED7B #C3F77B
triadic
#F7ED7B #7BF7ED #ED7BF7
tetradic
#F7ED7B #7BF7AF #7B85F7 #F77BC3
square
#F7ED7B #7BF7AF #7B85F7 #F77BC3
split-complementary
#F7ED7B #7BC3F7 #AF7BF7
monochromatic
#E9D80E #F4E541 #F7ED7B #FAF5B5 #FDFBE2

Accessibility & contrast

On white

1.21
#F7ED7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.35
#F7ED7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7ED7B
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7ED7B#FFFFFF#000000##000000
##F7ED7B1.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE671
Deuteranopia (green-blind)
#FFEC80
Tritanopia (blue-blind)
#FFE0D3
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f7ed7b;
/* rgb */ color: rgb(247, 237, 123);
/* oklch */ color: oklch(93.1% 0.136 104.2);
Tailwind
colors: {
  custom: {
    50: '#fcf2a4',
    500: '#f7ed7b',
    950: '#000000',
  },
}
SCSS
$custom: #f7ed7b;
$custom-light: #fcf2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ed7b",
  "rgb": {
    "r": 247,
    "g": 237,
    "b": 123
  },
  "hsl": {
    "h": 55.161,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.93121,
    "c": 0.13616,
    "h": 104.2
  },
  "luminance": 0.81773
}

Semantic roles & 50–950 ramp

primary
#F7ED7B
secondary
#434FD3
accent
#13E500
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F7ED7B

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

Preview Lab → · Contrast checker → · Palette generator →

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