#F7EF5E#F7EF5E

#F7EF5E is a very light, vivid yellow. Relative luminance 0.823; OKLCH L 93.2% C 0.163 H 106.1°. Best body text is #000000 at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#F7EF5E
RGBrgb(247, 239, 94)
HSLhsl(57, 91%, 67%)
HSVhsv(57, 62%, 97%)
CMYKcmyk(0%, 3.2%, 61.9%, 3.1%)
CIE-LABlab(92.71, -14.40, 68.81)
CIE-LCHlch(92.71, 70.30, 101.82°)
OKLaboklab(93.22% -0.0453 0.1565)
OKLCHoklch(93.22% 0.163 106.1)
XYZxyz(71.2471, 82.3177, 22.7234)
Luminance0.8232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EF5E #5E66F7
analogous
#F7A35E #F7EF5E #B2F75E
triadic
#F7EF5E #5EF7EF #EF5EF7
tetradic
#F7EF5E #5EF7A3 #5E66F7 #F75EB2
square
#F7EF5E #5EF7A3 #5E66F7 #F75EB2
split-complementary
#F7EF5E #5EB2F7 #A35EF7
monochromatic
#D0C60A #F4E924 #F7EF5E #FAF598 #FDFBD3

Accessibility & contrast

On white

1.20
#F7EF5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.46
#F7EF5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EF5E
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EF5E#FFFFFF#000000##000000
##F7EF5E1.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE74C
Deuteranopia (green-blind)
#FFED67
Tritanopia (blue-blind)
#FFE0D1
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f7ef5e;
/* rgb */ color: rgb(247, 239, 94);
/* oklch */ color: oklch(93.2% 0.163 106.1);
Tailwind
colors: {
  custom: {
    50: '#fdf492',
    500: '#f7ef5e',
    950: '#000000',
  },
}
SCSS
$custom: #f7ef5e;
$custom-light: #fdf492;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ef5e",
  "rgb": {
    "r": 247,
    "g": 239,
    "b": 94
  },
  "hsl": {
    "h": 56.863,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.93224,
    "c": 0.16288,
    "h": 106.1
  },
  "luminance": 0.82315
}

Semantic roles & 50–950 ramp

primary
#F7EF5E
secondary
#2E36CC
accent
#0CE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F7EF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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