#F4E270#F4E270

#F4E270 is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.5% C 0.136 H 100.5°. Best body text is #000000 at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#F4E270
RGBrgb(244, 226, 112)
HSLhsl(52, 86%, 70%)
HSVhsv(52, 54%, 96%)
CMYKcmyk(0%, 7.4%, 54.1%, 4.3%)
CIE-LABlab(89.30, -7.93, 57.13)
CIE-LCHlch(89.30, 57.68, 97.90°)
OKLaboklab(90.5% -0.0247 0.1338)
OKLCHoklch(90.5% 0.136 100.5)
XYZxyz(67.4315, 74.7982, 26.2116)
Luminance0.7480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4E270 #7082F4
analogous
#F4A070 #F4E270 #C4F470
triadic
#F4E270 #70F4E2 #E270F4
tetradic
#F4E270 #70F4A0 #7082F4 #F470C4
square
#F4E270 #70F4A0 #7082F4 #F470C4
split-complementary
#F4E270 #70C4F4 #A070F4
monochromatic
#D9BE11 #F0D637 #F4E270 #F8EEA9 #FDF9E2

Accessibility & contrast

On white

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

On black

15.96
#F4E270 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4E270
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4E270#FFFFFF#000000##000000
##F4E2701.001.3215.9615.96
#FFFFFF1.321.0021.0021.00
#00000015.9621.001.001.00
##00000015.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC65
Deuteranopia (green-blind)
#F9E475
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f4e270;
/* rgb */ color: rgb(244, 226, 112);
/* oklch */ color: oklch(90.5% 0.136 100.5);
Tailwind
colors: {
  custom: {
    50: '#faea9c',
    500: '#f4e270',
    950: '#000000',
  },
}
SCSS
$custom: #f4e270;
$custom-light: #faea9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f4e270",
  "rgb": {
    "r": 244,
    "g": 226,
    "b": 112
  },
  "hsl": {
    "h": 51.818,
    "s": 85.714,
    "l": 69.804
  },
  "oklch": {
    "l": 0.90502,
    "c": 0.13603,
    "h": 100.5
  },
  "luminance": 0.74796
}

Semantic roles & 50–950 ramp

primary
#F4E270
secondary
#3A4ECE
accent
#22E203
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F4E270

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

Preview Lab → · Contrast checker → · Palette generator →

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