#F6F07B#F6F07B

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

Color values

HEX#F6F07B
RGBrgb(246, 240, 123)
HSLhsl(57, 87%, 72%)
HSVhsv(57, 50%, 96%)
CMYKcmyk(0%, 2.4%, 50%, 3.5%)
CIE-LABlab(93.17, -13.18, 56.66)
CIE-LCHlch(93.17, 58.17, 103.10°)
OKLaboklab(93.65% -0.0387 0.1338)
OKLCHoklch(93.65% 0.139 106.1)
XYZxyz(72.7432, 83.3451, 30.9904)
Luminance0.8334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F07B #7B81F6
analogous
#F6B27B #F6F07B #BFF67B
triadic
#F6F07B #7BF6F0 #F07BF6
tetradic
#F6F07B #7BF6B2 #7B81F6 #F67BBF
square
#F6F07B #7BF6B2 #7B81F6 #F67BBF
split-complementary
#F6F07B #7BBFF6 #B27BF6
monochromatic
#E7DC10 #F2E942 #F6F07B #FAF7B4 #FDFCE2

Accessibility & contrast

On white

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

On black

17.67
#F6F07B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F07B
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F07B#FFFFFF#000000##000000
##F6F07B1.001.1917.6717.67
#FFFFFF1.191.0021.0021.00
#00000017.6721.001.001.00
##00000017.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f6f07b;
/* rgb */ color: rgb(246, 240, 123);
/* oklch */ color: oklch(93.7% 0.139 106.1);
Tailwind
colors: {
  custom: {
    50: '#fbf4a4',
    500: '#f6f07b',
    950: '#000000',
  },
}
SCSS
$custom: #f6f07b;
$custom-light: #fbf4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f07b",
  "rgb": {
    "r": 246,
    "g": 240,
    "b": 123
  },
  "hsl": {
    "h": 57.073,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.93651,
    "c": 0.13924,
    "h": 106.1
  },
  "luminance": 0.83343
}

Semantic roles & 50–950 ramp

primary
#F6F07B
secondary
#444AD2
accent
#0DE402
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F6F07B

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

Preview Lab → · Contrast checker → · Palette generator →

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