#F7E57B#F7E57B

#F7E57B is a very light, vivid yellow. Relative luminance 0.772; OKLCH L 91.5% C 0.129 H 99.8°. Best body text is #000000 at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#F7E57B
RGBrgb(247, 229, 123)
HSLhsl(51, 89%, 73%)
HSVhsv(51, 50%, 97%)
CMYKcmyk(0%, 7.3%, 50.2%, 3.1%)
CIE-LABlab(90.43, -7.33, 53.42)
CIE-LCHlch(90.43, 53.92, 97.82°)
OKLaboklab(91.5% -0.022 0.1267)
OKLCHoklch(91.5% 0.129 99.8)
XYZxyz(69.9544, 77.2454, 29.9600)
Luminance0.7724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E57B #7B8DF7
analogous
#F7A77B #F7E57B #CBF77B
triadic
#F7E57B #7BF7E5 #E57BF7
tetradic
#F7E57B #7BF7A7 #7B8DF7 #F77BCB
square
#F7E57B #7BF7A7 #7B8DF7 #F77BCB
split-complementary
#F7E57B #7BCBF7 #A77BF7
monochromatic
#E9CA0E #F4DA41 #F7E57B #FAF0B5 #FDF9E2

Accessibility & contrast

On white

1.28
#F7E57B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.45
#F7E57B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E57B
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E57B#FFFFFF#000000##000000
##F7E57B1.001.2816.4516.45
#FFFFFF1.281.0021.0021.00
#00000016.4521.001.001.00
##00000016.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E072
Deuteranopia (green-blind)
#FCE780
Tritanopia (blue-blind)
#FFD8CC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f7e57b;
/* rgb */ color: rgb(247, 229, 123);
/* oklch */ color: oklch(91.5% 0.129 99.8);
Tailwind
colors: {
  custom: {
    50: '#fceda3',
    500: '#f7e57b',
    950: '#000000',
  },
}
SCSS
$custom: #f7e57b;
$custom-light: #fceda3;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e57b",
  "rgb": {
    "r": 247,
    "g": 229,
    "b": 123
  },
  "hsl": {
    "h": 51.29,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.91502,
    "c": 0.12855,
    "h": 99.8
  },
  "luminance": 0.77243
}

Semantic roles & 50–950 ramp

primary
#F7E57B
secondary
#4358D3
accent
#22E500
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F7E57B

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

Preview Lab → · Contrast checker → · Palette generator →

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