#F7E07B#F7E07B

#F7E07B is a very light, vivid yellow. Relative luminance 0.745; OKLCH L 90.5% C 0.124 H 96.8°. Best body text is #000000 at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#F7E07B
RGBrgb(247, 224, 123)
HSLhsl(49, 89%, 73%)
HSVhsv(49, 50%, 97%)
CMYKcmyk(0%, 9.3%, 50.2%, 3.1%)
CIE-LABlab(89.17, -4.82, 51.90)
CIE-LCHlch(89.17, 52.12, 95.31°)
OKLaboklab(90.5% -0.0147 0.1233)
OKLCHoklch(90.5% 0.124 96.8)
XYZxyz(68.5908, 74.5182, 29.5055)
Luminance0.7452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E07B #7B92F7
analogous
#F7A27B #F7E07B #D0F77B
triadic
#F7E07B #7BF7E0 #E07BF7
tetradic
#F7E07B #7BF7A2 #7B92F7 #F77BD0
square
#F7E07B #7BF7A2 #7B92F7 #F77BD0
split-complementary
#F7E07B #7BD0F7 #A27BF7
monochromatic
#E9C10E #F4D241 #F7E07B #FAEEB5 #FDF8E2

Accessibility & contrast

On white

1.32
#F7E07B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.90
#F7E07B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E07B
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E07B#FFFFFF#000000##000000
##F7E07B1.001.3215.9015.90
#FFFFFF1.321.0021.0021.00
#00000015.9021.001.001.00
##00000015.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DC72
Deuteranopia (green-blind)
#F8E37F
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f7e07b;
/* rgb */ color: rgb(247, 224, 123);
/* oklch */ color: oklch(90.5% 0.124 96.8);
Tailwind
colors: {
  custom: {
    50: '#fce9a3',
    500: '#f7e07b',
    950: '#000000',
  },
}
SCSS
$custom: #f7e07b;
$custom-light: #fce9a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e07b",
  "rgb": {
    "r": 247,
    "g": 224,
    "b": 123
  },
  "hsl": {
    "h": 48.871,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.90498,
    "c": 0.1242,
    "h": 96.8
  },
  "luminance": 0.74516
}

Semantic roles & 50–950 ramp

primary
#F7E07B
secondary
#435ED3
accent
#2BE500
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F7E07B

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

Preview Lab → · Contrast checker → · Palette generator →

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