#F7E77B#F7E77B

#F7E77B is a very light, vivid yellow. Relative luminance 0.784; OKLCH L 91.9% C 0.130 H 101.0°. Best body text is #000000 at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#F7E77B
RGBrgb(247, 231, 123)
HSLhsl(52, 89%, 73%)
HSVhsv(52, 50%, 97%)
CMYKcmyk(0%, 6.5%, 50.2%, 3.1%)
CIE-LABlab(90.94, -8.33, 54.03)
CIE-LCHlch(90.94, 54.67, 98.77°)
OKLaboklab(91.91% -0.0249 0.128)
OKLCHoklch(91.91% 0.13 101)
XYZxyz(70.5109, 78.3585, 30.1455)
Luminance0.7836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E77B #7B8BF7
analogous
#F7A97B #F7E77B #C9F77B
triadic
#F7E77B #7BF7E7 #E77BF7
tetradic
#F7E77B #7BF7A9 #7B8BF7 #F77BC9
square
#F7E77B #7BF7A9 #7B8BF7 #F77BC9
split-complementary
#F7E77B #7BC9F7 #A97BF7
monochromatic
#E9CD0E #F4DD41 #F7E77B #FAF1B5 #FDFAE2

Accessibility & contrast

On white

1.26
#F7E77B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.67
#F7E77B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E77B
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E77B#FFFFFF#000000##000000
##F7E77B1.001.2616.6716.67
#FFFFFF1.261.0021.0021.00
#00000016.6721.001.001.00
##00000016.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E171
Deuteranopia (green-blind)
#FDE880
Tritanopia (blue-blind)
#FFDACE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f7e77b;
/* rgb */ color: rgb(247, 231, 123);
/* oklch */ color: oklch(91.9% 0.130 101.0);
Tailwind
colors: {
  custom: {
    50: '#fceea3',
    500: '#f7e77b',
    950: '#000000',
  },
}
SCSS
$custom: #f7e77b;
$custom-light: #fceea3;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e77b",
  "rgb": {
    "r": 247,
    "g": 231,
    "b": 123
  },
  "hsl": {
    "h": 52.258,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.91905,
    "c": 0.13039,
    "h": 101
  },
  "luminance": 0.78356
}

Semantic roles & 50–950 ramp

primary
#F7E77B
secondary
#4356D3
accent
#1EE500
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F7E77B

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

Preview Lab → · Contrast checker → · Palette generator →

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