#F6E07B#F6E07B

#F6E07B is a very light, vivid yellow. Relative luminance 0.743; OKLCH L 90.4% C 0.124 H 97.3°. Best body text is #000000 at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#F6E07B
RGBrgb(246, 224, 123)
HSLhsl(49, 87%, 72%)
HSVhsv(49, 50%, 96%)
CMYKcmyk(0%, 8.9%, 50%, 3.5%)
CIE-LABlab(89.08, -5.22, 51.78)
CIE-LCHlch(89.08, 52.04, 95.76°)
OKLaboklab(90.41% -0.0158 0.1231)
OKLCHoklch(90.41% 0.124 97.3)
XYZxyz(68.2390, 74.3369, 29.4890)
Luminance0.7433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6E07B #7B91F6
analogous
#F6A27B #F6E07B #CFF67B
triadic
#F6E07B #7BF6E0 #E07BF6
tetradic
#F6E07B #7BF6A2 #7B91F6 #F67BCF
square
#F6E07B #7BF6A2 #7B91F6 #F67BCF
split-complementary
#F6E07B #7BCFF6 #A27BF6
monochromatic
#E7C010 #F2D342 #F6E07B #FAEDB4 #FDF8E2

Accessibility & contrast

On white

1.32
#F6E07B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.87
#F6E07B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6E07B
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6E07B#FFFFFF#000000##000000
##F6E07B1.001.3215.8715.87
#FFFFFF1.321.0021.0021.00
#00000015.8721.001.001.00
##00000015.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB72
Deuteranopia (green-blind)
#F8E37F
Tritanopia (blue-blind)
#FFD3C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f6e07b;
/* rgb */ color: rgb(246, 224, 123);
/* oklch */ color: oklch(90.4% 0.124 97.3);
Tailwind
colors: {
  custom: {
    50: '#fbe9a3',
    500: '#f6e07b',
    950: '#000000',
  },
}
SCSS
$custom: #f6e07b;
$custom-light: #fbe9a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f6e07b",
  "rgb": {
    "r": 246,
    "g": 224,
    "b": 123
  },
  "hsl": {
    "h": 49.268,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.9041,
    "c": 0.12408,
    "h": 97.3
  },
  "luminance": 0.74334
}

Semantic roles & 50–950 ramp

primary
#F6E07B
secondary
#445DD2
accent
#2AE402
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F6E07B

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

Preview Lab → · Contrast checker → · Palette generator →

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