#F7F07B#F7F07B

#F7F07B is a very light, vivid yellow. Relative luminance 0.835; OKLCH L 93.7% C 0.139 H 105.7°. Best body text is #000000 at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#F7F07B
RGBrgb(247, 240, 123)
HSLhsl(57, 89%, 73%)
HSVhsv(57, 50%, 97%)
CMYKcmyk(0%, 2.8%, 50.2%, 3.1%)
CIE-LABlab(93.24, -12.79, 56.77)
CIE-LCHlch(93.24, 58.19, 102.70°)
OKLaboklab(93.73% -0.0377 0.134)
OKLCHoklch(93.73% 0.139 105.7)
XYZxyz(73.0949, 83.5265, 31.0069)
Luminance0.8352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F07B #7B82F7
analogous
#F7B27B #F7F07B #C0F77B
triadic
#F7F07B #7BF7F0 #F07BF7
tetradic
#F7F07B #7BF7B2 #7B82F7 #F77BC0
square
#F7F07B #7BF7B2 #7B82F7 #F77BC0
split-complementary
#F7F07B #7BC0F7 #B27BF7
monochromatic
#E9DD0E #F4E941 #F7F07B #FAF7B5 #FDFCE2

Accessibility & contrast

On white

1.19
#F7F07B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.70
#F7F07B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F07B
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F07B#FFFFFF#000000##000000
##F7F07B1.001.1917.7017.70
#FFFFFF1.191.0021.0021.00
#00000017.7021.001.001.00
##00000017.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE970
Deuteranopia (green-blind)
#FFEE81
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f7f07b;
/* rgb */ color: rgb(247, 240, 123);
/* oklch */ color: oklch(93.7% 0.139 105.7);
Tailwind
colors: {
  custom: {
    50: '#fcf4a4',
    500: '#f7f07b',
    950: '#000000',
  },
}
SCSS
$custom: #f7f07b;
$custom-light: #fcf4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f07b",
  "rgb": {
    "r": 247,
    "g": 240,
    "b": 123
  },
  "hsl": {
    "h": 56.613,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.93733,
    "c": 0.13917,
    "h": 105.7
  },
  "luminance": 0.83524
}

Semantic roles & 50–950 ramp

primary
#F7F07B
secondary
#434BD3
accent
#0DE500
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F07B

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

Preview Lab → · Contrast checker → · Palette generator →

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