#F7E185#F7E185

#F7E185 is a very light, moderate yellow. Relative luminance 0.753; OKLCH L 90.8% C 0.115 H 96.3°. Best body text is #000000 at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#F7E185
RGBrgb(247, 225, 133)
HSLhsl(48, 88%, 75%)
HSVhsv(48, 46%, 97%)
CMYKcmyk(0%, 8.9%, 46.2%, 3.1%)
CIE-LABlab(89.54, -4.43, 47.54)
CIE-LCHlch(89.54, 47.75, 95.32°)
OKLaboklab(90.84% -0.0126 0.1144)
OKLCHoklch(90.84% 0.115 96.3)
XYZxyz(69.5186, 75.3206, 33.0622)
Luminance0.7532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E185 #859BF7
analogous
#F7A885 #F7E185 #D4F785
triadic
#F7E185 #85F7E1 #E185F7
tetradic
#F7E185 #85F7A8 #859BF7 #F785D4
square
#F7E185 #85F7A8 #859BF7 #F785D4
split-complementary
#F7E185 #85D4F7 #A885F7
monochromatic
#EFC512 #F3D34C #F7E185 #FBEFBE #FDF8E2

Accessibility & contrast

On white

1.31
#F7E185 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.06
#F7E185 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E185
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E185#FFFFFF#000000##000000
##F7E1851.001.3116.0616.06
#FFFFFF1.311.0021.0021.00
#00000016.0621.001.001.00
##00000016.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DD7E
Deuteranopia (green-blind)
#F8E489
Tritanopia (blue-blind)
#FFD5CB
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f7e185;
/* rgb */ color: rgb(247, 225, 133);
/* oklch */ color: oklch(90.8% 0.115 96.3);
Tailwind
colors: {
  custom: {
    50: '#fceaaa',
    500: '#f7e185',
    950: '#000000',
  },
}
SCSS
$custom: #f7e185;
$custom-light: #fceaaa;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e185",
  "rgb": {
    "r": 247,
    "g": 225,
    "b": 133
  },
  "hsl": {
    "h": 48.421,
    "s": 87.692,
    "l": 74.51
  },
  "oklch": {
    "l": 0.90836,
    "c": 0.11509,
    "h": 96.3
  },
  "luminance": 0.75318
}

Semantic roles & 50–950 ramp

primary
#F7E185
secondary
#4C66D4
accent
#2DE401
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#181610
muted
#868481

Preview Lab

Preview with #F7E185

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

Preview Lab → · Contrast checker → · Palette generator →

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