#F7E37F#F7E37F

#F7E37F is a very light, vivid yellow. Relative luminance 0.762; OKLCH L 91.2% C 0.123 H 98.3°. Best body text is #000000 at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#F7E37F
RGBrgb(247, 227, 127)
HSLhsl(50, 88%, 73%)
HSVhsv(50, 49%, 97%)
CMYKcmyk(0%, 8.1%, 48.6%, 3.1%)
CIE-LABlab(89.97, -5.98, 50.97)
CIE-LCHlch(89.97, 51.32, 96.70°)
OKLaboklab(91.15% -0.0177 0.1216)
OKLCHoklch(91.15% 0.123 98.3)
XYZxyz(69.6597, 76.2472, 31.1224)
Luminance0.7624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E37F #7F93F7
analogous
#F7A77F #F7E37F #CFF77F
triadic
#F7E37F #7FF7E3 #E37FF7
tetradic
#F7E37F #7FF7A7 #7F93F7 #F77FCF
square
#F7E37F #7FF7A7 #7F93F7 #F77FCF
split-complementary
#F7E37F #7FCFF7 #A77FF7
monochromatic
#EDC80F #F3D645 #F7E37F #FBF0B9 #FDF9E2

Accessibility & contrast

On white

1.29
#F7E37F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.25
#F7E37F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E37F
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E37F#FFFFFF#000000##000000
##F7E37F1.001.2916.2516.25
#FFFFFF1.291.0021.0021.00
#00000016.2521.001.001.00
##00000016.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DE76
Deuteranopia (green-blind)
#FAE583
Tritanopia (blue-blind)
#FFD6CB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f7e37f;
/* rgb */ color: rgb(247, 227, 127);
/* oklch */ color: oklch(91.2% 0.123 98.3);
Tailwind
colors: {
  custom: {
    50: '#fceba6',
    500: '#f7e37f',
    950: '#000000',
  },
}
SCSS
$custom: #f7e37f;
$custom-light: #fceba6;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e37f",
  "rgb": {
    "r": 247,
    "g": 227,
    "b": 127
  },
  "hsl": {
    "h": 50,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.91153,
    "c": 0.12286,
    "h": 98.3
  },
  "luminance": 0.76245
}

Semantic roles & 50–950 ramp

primary
#F7E37F
secondary
#475ED3
accent
#27E501
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F7E37F

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

Preview Lab → · Contrast checker → · Palette generator →

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