#F4EB5F#F4EB5F

#F4EB5F is a very light, vivid yellow. Relative luminance 0.795; OKLCH L 92.2% C 0.159 H 105.6°. Best body text is #000000 at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#F4EB5F
RGBrgb(244, 235, 95)
HSLhsl(56, 87%, 66%)
HSVhsv(56, 61%, 96%)
CMYKcmyk(0%, 3.7%, 61.1%, 4.3%)
CIE-LABlab(91.45, -13.59, 66.97)
CIE-LCHlch(91.45, 68.34, 101.47°)
OKLaboklab(92.16% -0.0427 0.1528)
OKLCHoklch(92.16% 0.159 105.6)
XYZxyz(69.0845, 79.4783, 22.5260)
Luminance0.7948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F4EB5F #5F68F4
analogous
#F4A15F #F4EB5F #B3F45F
triadic
#F4EB5F #5FF4EB #EB5FF4
tetradic
#F4EB5F #5FF4A1 #5F68F4 #F45FB3
square
#F4EB5F #5FF4A1 #5F68F4 #F45FB3
split-complementary
#F4EB5F #5FB3F4 #A15FF4
monochromatic
#CBBF0E #F0E426 #F4EB5F #F8F298 #FCF9D2

Accessibility & contrast

On white

1.24
#F4EB5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.90
#F4EB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F4EB5F
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F4EB5F#FFFFFF#000000##000000
##F4EB5F1.001.2416.9016.90
#FFFFFF1.241.0021.0021.00
#00000016.9021.001.001.00
##00000016.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE34E
Deuteranopia (green-blind)
#FFE967
Tritanopia (blue-blind)
#FFDCCD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f4eb5f;
/* rgb */ color: rgb(244, 235, 95);
/* oklch */ color: oklch(92.2% 0.159 105.6);
Tailwind
colors: {
  custom: {
    50: '#fbf192',
    500: '#f4eb5f',
    950: '#000000',
  },
}
SCSS
$custom: #f4eb5f;
$custom-light: #fbf192;
$custom-dark: #000000;
JSON
{
  "hex": "#f4eb5f",
  "rgb": {
    "r": 244,
    "g": 235,
    "b": 95
  },
  "hsl": {
    "h": 56.376,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.92161,
    "c": 0.15864,
    "h": 105.6
  },
  "luminance": 0.79476
}

Semantic roles & 50–950 ramp

primary
#F4EB5F
secondary
#3039C7
accent
#0FE402
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F4EB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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