#F5CC3E#F5CC3E

#F5CC3E is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.7% C 0.157 H 92.0°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#F5CC3E
RGBrgb(245, 204, 62)
HSLhsl(47, 90%, 60%)
HSVhsv(47, 75%, 96%)
CMYKcmyk(0%, 16.7%, 74.7%, 3.9%)
CIE-LABlab(83.42, 0.69, 71.58)
CIE-LCHlch(83.42, 71.58, 89.45°)
OKLaboklab(85.74% -0.0056 0.1571)
OKLCHoklch(85.74% 0.157 92)
XYZxyz(60.1220, 62.9497, 13.5403)
Luminance0.6295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5CC3E #3E67F5
analogous
#F5703E #F5CC3E #C3F53E
triadic
#F5CC3E #3EF5CC #CC3EF5
tetradic
#F5CC3E #3EF570 #3E67F5 #F53EC3
square
#F5CC3E #3EF570 #3E67F5 #F53EC3
split-complementary
#F5CC3E #3EC3F5 #703EF5
monochromatic
#B08A09 #EAB80C #F5CC3E #F8DB78 #FBEBB2

Accessibility & contrast

On white

1.55
#F5CC3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.59
#F5CC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5CC3E
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5CC3E#FFFFFF#000000##000000
##F5CC3E1.001.5513.5913.59
#FFFFFF1.551.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C925
Deuteranopia (green-blind)
#EDD546
Tritanopia (blue-blind)
#FFBBB0
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #f5cc3e;
/* rgb */ color: rgb(245, 204, 62);
/* oklch */ color: oklch(85.7% 0.157 92.0);
Tailwind
colors: {
  custom: {
    50: '#fddb7d',
    500: '#f5cc3e',
    950: '#000000',
  },
}
SCSS
$custom: #f5cc3e;
$custom-light: #fddb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5cc3e",
  "rgb": {
    "r": 245,
    "g": 204,
    "b": 62
  },
  "hsl": {
    "h": 46.557,
    "s": 90.148,
    "l": 60.196
  },
  "oklch": {
    "l": 0.85738,
    "c": 0.15715,
    "h": 92
  },
  "luminance": 0.62946
}

Semantic roles & 50–950 ramp

primary
#F5CC3E
secondary
#2846AF
accent
#33E600
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#19140A
muted
#87837D

Preview Lab

Preview with #F5CC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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