#FFF340#FFF340

#FFF340 is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.5% C 0.184 H 105.4°. Best body text is #000000 at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#FFF340
RGBrgb(255, 243, 64)
HSLhsl(56, 100%, 63%)
HSVhsv(56, 75%, 100%)
CMYKcmyk(0%, 4.7%, 74.9%, 0%)
CIE-LABlab(94.20, -14.56, 81.28)
CIE-LCHlch(94.20, 82.58, 100.16°)
OKLaboklab(94.5% -0.0491 0.1777)
OKLCHoklch(94.5% 0.184 105.4)
XYZxyz(74.2192, 85.7342, 17.4884)
Luminance0.8573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF340 #404CFF
analogous
#FF9340 #FFF340 #ACFF40
triadic
#FFF340 #40FFF3 #F340FF
tetradic
#FFF340 #40FF93 #404CFF #FF40AC
square
#FFF340 #40FF93 #404CFF #FF40AC
split-complementary
#FFF340 #40ACFF #9340FF
monochromatic
#C5B800 #FFEF03 #FFF340 #FFF77D #FFFBBA

Accessibility & contrast

On white

1.16
#FFF340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.15
#FFF340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF340
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF340#FFFFFF#000000##000000
##FFF3401.001.1618.1518.15
#FFFFFF1.161.0021.0021.00
#00000018.1521.001.001.00
##00000018.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA14
Deuteranopia (green-blind)
#FFF24E
Tritanopia (blue-blind)
#FFE2D1
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fff340;
/* rgb */ color: rgb(255, 243, 64);
/* oklch */ color: oklch(94.5% 0.184 105.4);
Tailwind
colors: {
  custom: {
    50: '#fff682',
    500: '#fff340',
    950: '#000000',
  },
}
SCSS
$custom: #fff340;
$custom-light: #fff682;
$custom-dark: #000000;
JSON
{
  "hex": "#fff340",
  "rgb": {
    "r": 255,
    "g": 243,
    "b": 64
  },
  "hsl": {
    "h": 56.23,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.945,
    "c": 0.18434,
    "h": 105.4
  },
  "luminance": 0.85731
}

Semantic roles & 50–950 ramp

primary
#FFF340
secondary
#222CC1
accent
#0EE600
background
#FFFFFC
surface
#FFFEF3
border
#D7D6CD
text
#19170C
muted
#87857F

Preview Lab

Preview with #FFF340

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

Preview Lab → · Contrast checker → · Palette generator →

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