#F7E670#F7E670

#F7E670 is a very light, vivid yellow. Relative luminance 0.775; OKLCH L 91.6% C 0.140 H 101.2°. Best body text is #000000 at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#F7E670
RGBrgb(247, 230, 112)
HSLhsl(52, 89%, 70%)
HSVhsv(52, 55%, 97%)
CMYKcmyk(0%, 6.9%, 54.7%, 3.1%)
CIE-LABlab(90.57, -8.72, 58.67)
CIE-LCHlch(90.57, 59.32, 98.45°)
OKLaboklab(91.57% -0.0271 0.137)
OKLCHoklch(91.57% 0.14 101.2)
XYZxyz(69.5816, 77.5402, 26.6276)
Luminance0.7754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E670 #7081F7
analogous
#F7A270 #F7E670 #C5F770
triadic
#F7E670 #70F7E6 #E670F7
tetradic
#F7E670 #70F7A2 #7081F7 #F770C5
square
#F7E670 #70F7A2 #7081F7 #F770C5
split-complementary
#F7E670 #70C5F7 #A270F7
monochromatic
#E0C50D #F4DC36 #F7E670 #FAF0AA #FDFAE2

Accessibility & contrast

On white

1.27
#F7E670 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.51
#F7E670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E670
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E670#FFFFFF#000000##000000
##F7E6701.001.2716.5116.51
#FFFFFF1.271.0021.0021.00
#00000016.5121.001.001.00
##00000016.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E064
Deuteranopia (green-blind)
#FDE776
Tritanopia (blue-blind)
#FFD8CC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f7e670;
/* rgb */ color: rgb(247, 230, 112);
/* oklch */ color: oklch(91.6% 0.140 101.2);
Tailwind
colors: {
  custom: {
    50: '#fced9c',
    500: '#f7e670',
    950: '#000000',
  },
}
SCSS
$custom: #f7e670;
$custom-light: #fced9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e670",
  "rgb": {
    "r": 247,
    "g": 230,
    "b": 112
  },
  "hsl": {
    "h": 52.444,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.91571,
    "c": 0.13969,
    "h": 101.2
  },
  "luminance": 0.77538
}

Semantic roles & 50–950 ramp

primary
#F7E670
secondary
#3A4DD2
accent
#1DE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F7E670

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

Preview Lab → · Contrast checker → · Palette generator →

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