#F4EF5F#F4EF5F

#F4EF5F is a very light, vivid yellow. Relative luminance 0.818; OKLCH L 93.0% C 0.162 H 107.3°. Best body text is #000000 at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#F4EF5F
RGBrgb(244, 239, 95)
HSLhsl(58, 87%, 66%)
HSVhsv(58, 61%, 96%)
CMYKcmyk(0%, 2%, 61.1%, 4.3%)
CIE-LABlab(92.48, -15.55, 68.08)
CIE-LCHlch(92.48, 69.84, 102.87°)
OKLaboklab(92.99% -0.0483 0.1551)
OKLCHoklch(92.99% 0.162 107.3)
XYZxyz(70.2426, 81.7945, 22.9120)
Luminance0.8179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4EF5F #5F64F4
analogous
#F4A55F #F4EF5F #AEF45F
triadic
#F4EF5F #5FF4EF #EF5FF4
tetradic
#F4EF5F #5FF4A5 #5F64F4 #F45FAE
square
#F4EF5F #5FF4A5 #5F64F4 #F45FAE
split-complementary
#F4EF5F #5FAEF4 #A55FF4
monochromatic
#CBC40E #F0E926 #F4EF5F #F8F598 #FCFAD2

Accessibility & contrast

On white

1.21
#F4EF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.36
#F4EF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4EF5F
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4EF5F#FFFFFF#000000##000000
##F4EF5F1.001.2117.3617.36
#FFFFFF1.211.0021.0021.00
#00000017.3621.001.001.00
##00000017.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE64E
Deuteranopia (green-blind)
#FFEC68
Tritanopia (blue-blind)
#FFE1D1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f4ef5f;
/* rgb */ color: rgb(244, 239, 95);
/* oklch */ color: oklch(93.0% 0.162 107.3);
Tailwind
colors: {
  custom: {
    50: '#fbf492',
    500: '#f4ef5f',
    950: '#000000',
  },
}
SCSS
$custom: #f4ef5f;
$custom-light: #fbf492;
$custom-dark: #000000;
JSON
{
  "hex": "#f4ef5f",
  "rgb": {
    "r": 244,
    "g": 239,
    "b": 95
  },
  "hsl": {
    "h": 57.987,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.92985,
    "c": 0.16247,
    "h": 107.3
  },
  "luminance": 0.81792
}

Semantic roles & 50–950 ramp

primary
#F4EF5F
secondary
#3035C7
accent
#09E402
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F4EF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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