#F5CB4D#F5CB4D

#F5CB4D is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.7% C 0.147 H 90.2°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#F5CB4D
RGBrgb(245, 203, 77)
HSLhsl(45, 89%, 63%)
HSVhsv(45, 69%, 96%)
CMYKcmyk(0%, 17.1%, 68.6%, 3.9%)
CIE-LABlab(83.27, 1.89, 65.75)
CIE-LCHlch(83.27, 65.77, 88.35°)
OKLaboklab(85.65% -0.0005 0.1474)
OKLCHoklch(85.65% 0.147 90.2)
XYZxyz(60.3549, 62.6638, 15.9361)
Luminance0.6266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5CB4D #4D77F5
analogous
#F5774D #F5CB4D #CBF54D
triadic
#F5CB4D #4DF5CB #CB4DF5
tetradic
#F5CB4D #4DF577 #4D77F5 #F54DCB
square
#F5CB4D #4DF577 #4D77F5 #F54DCB
split-complementary
#F5CB4D #4DCBF5 #774DF5
monochromatic
#BD900B #F2BA13 #F5CB4D #F8DC87 #FCEDC1

Accessibility & contrast

On white

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

On black

13.53
#F5CB4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5CB4D
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5CB4D#FFFFFF#000000##000000
##F5CB4D1.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C93C
Deuteranopia (green-blind)
#EBD453
Tritanopia (blue-blind)
#FFBBB1
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #f5cb4d;
/* rgb */ color: rgb(245, 203, 77);
/* oklch */ color: oklch(85.7% 0.147 90.2);
Tailwind
colors: {
  custom: {
    50: '#fdda85',
    500: '#f5cb4d',
    950: '#000000',
  },
}
SCSS
$custom: #f5cb4d;
$custom-light: #fdda85;
$custom-dark: #000000;
JSON
{
  "hex": "#f5cb4d",
  "rgb": {
    "r": 245,
    "g": 203,
    "b": 77
  },
  "hsl": {
    "h": 45,
    "s": 89.362,
    "l": 63.137
  },
  "oklch": {
    "l": 0.85651,
    "c": 0.14742,
    "h": 90.2
  },
  "luminance": 0.6266
}

Semantic roles & 50–950 ramp

primary
#F5CB4D
secondary
#2B4FBB
accent
#39E600
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #F5CB4D

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

Preview Lab → · Contrast checker → · Palette generator →

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