#F7E27B#F7E27B

#F7E27B is a very light, vivid yellow. Relative luminance 0.756; OKLCH L 90.9% C 0.126 H 98.1°. Best body text is #000000 at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#F7E27B
RGBrgb(247, 226, 123)
HSLhsl(50, 89%, 73%)
HSVhsv(50, 50%, 97%)
CMYKcmyk(0%, 8.5%, 50.2%, 3.1%)
CIE-LABlab(89.67, -5.83, 52.51)
CIE-LCHlch(89.67, 52.83, 96.33°)
OKLaboklab(90.9% -0.0176 0.1247)
OKLCHoklch(90.9% 0.126 98.1)
XYZxyz(69.1315, 75.5996, 29.6857)
Luminance0.7560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E27B #7B90F7
analogous
#F7A47B #F7E27B #CEF77B
triadic
#F7E27B #7BF7E2 #E27BF7
tetradic
#F7E27B #7BF7A4 #7B90F7 #F77BCE
square
#F7E27B #7BF7A4 #7B90F7 #F77BCE
split-complementary
#F7E27B #7BCEF7 #A47BF7
monochromatic
#E9C40E #F4D541 #F7E27B #FAEFB5 #FDF9E2

Accessibility & contrast

On white

1.30
#F7E27B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.12
#F7E27B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E27B
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E27B#FFFFFF#000000##000000
##F7E27B1.001.3016.1216.12
#FFFFFF1.301.0021.0021.00
#00000016.1221.001.001.00
##00000016.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD72
Deuteranopia (green-blind)
#F9E57F
Tritanopia (blue-blind)
#FFD5CA
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f7e27b;
/* rgb */ color: rgb(247, 226, 123);
/* oklch */ color: oklch(90.9% 0.126 98.1);
Tailwind
colors: {
  custom: {
    50: '#fceaa3',
    500: '#f7e27b',
    950: '#000000',
  },
}
SCSS
$custom: #f7e27b;
$custom-light: #fceaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e27b",
  "rgb": {
    "r": 247,
    "g": 226,
    "b": 123
  },
  "hsl": {
    "h": 49.839,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.90899,
    "c": 0.1259,
    "h": 98.1
  },
  "luminance": 0.75597
}

Semantic roles & 50–950 ramp

primary
#F7E27B
secondary
#435CD3
accent
#27E500
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F7E27B

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

Preview Lab → · Contrast checker → · Palette generator →

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