#F5CB3E#F5CB3E

#F5CB3E is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 85.5% C 0.157 H 91.5°. Best body text is #000000 at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#F5CB3E
RGBrgb(245, 203, 62)
HSLhsl(46, 90%, 60%)
HSVhsv(46, 75%, 96%)
CMYKcmyk(0%, 17.1%, 74.7%, 3.9%)
CIE-LABlab(83.17, 1.21, 71.34)
CIE-LCHlch(83.17, 71.35, 89.03°)
OKLaboklab(85.54% -0.0041 0.1566)
OKLCHoklch(85.54% 0.157 91.5)
XYZxyz(59.8850, 62.4758, 13.4613)
Luminance0.6247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5CB3E #3E68F5
analogous
#F5703E #F5CB3E #C3F53E
triadic
#F5CB3E #3EF5CB #CB3EF5
tetradic
#F5CB3E #3EF570 #3E68F5 #F53EC3
square
#F5CB3E #3EF570 #3E68F5 #F53EC3
split-complementary
#F5CB3E #3EC3F5 #703EF5
monochromatic
#B08909 #EAB70C #F5CB3E #F8DB78 #FBEAB2

Accessibility & contrast

On white

1.56
#F5CB3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.49
#F5CB3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5CB3E
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5CB3E#FFFFFF#000000##000000
##F5CB3E1.001.5613.4913.49
#FFFFFF1.561.0021.0021.00
#00000013.4921.001.001.00
##00000013.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C825
Deuteranopia (green-blind)
#ECD446
Tritanopia (blue-blind)
#FFBAB0
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #f5cb3e;
/* rgb */ color: rgb(245, 203, 62);
/* oklch */ color: oklch(85.5% 0.157 91.5);
Tailwind
colors: {
  custom: {
    50: '#fdda7d',
    500: '#f5cb3e',
    950: '#000000',
  },
}
SCSS
$custom: #f5cb3e;
$custom-light: #fdda7d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5cb3e",
  "rgb": {
    "r": 245,
    "g": 203,
    "b": 62
  },
  "hsl": {
    "h": 46.23,
    "s": 90.148,
    "l": 60.196
  },
  "oklch": {
    "l": 0.85541,
    "c": 0.1566,
    "h": 91.5
  },
  "luminance": 0.62472
}

Semantic roles & 50–950 ramp

primary
#F5CB3E
secondary
#2847AF
accent
#35E600
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#19140A
muted
#87837D

Preview Lab

Preview with #F5CB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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