#F3D158#F3D158

#F3D158 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.7% C 0.143 H 93.4°. Best body text is #000000 at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#F3D158
RGBrgb(243, 209, 88)
HSLhsl(47, 87%, 65%)
HSVhsv(47, 64%, 95%)
CMYKcmyk(0%, 14%, 63.8%, 4.7%)
CIE-LABlab(84.67, -1.40, 62.59)
CIE-LCHlch(84.67, 62.60, 91.28°)
OKLaboklab(86.75% -0.0086 0.1425)
OKLCHoklch(86.75% 0.143 93.4)
XYZxyz(61.5270, 65.3634, 18.6062)
Luminance0.6536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F3D158 #587AF3
analogous
#F38458 #F3D158 #C7F358
triadic
#F3D158 #58F3D1 #D158F3
tetradic
#F3D158 #58F384 #587AF3 #F358C7
square
#F3D158 #58F384 #587AF3 #F358C7
split-complementary
#F3D158 #58C7F3 #8458F3
monochromatic
#C39B0E #EFC11F #F3D158 #F7E191 #FBF0CA

Accessibility & contrast

On white

1.49
#F3D158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.07
#F3D158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F3D158
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F3D158#FFFFFF#000000##000000
##F3D1581.001.4914.0714.07
#FFFFFF1.491.0021.0021.00
#00000014.0721.001.001.00
##00000014.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD4A
Deuteranopia (green-blind)
#EED85E
Tritanopia (blue-blind)
#FFC2B7
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #f3d158;
/* rgb */ color: rgb(243, 209, 88);
/* oklch */ color: oklch(86.7% 0.143 93.4);
Tailwind
colors: {
  custom: {
    50: '#fbde8c',
    500: '#f3d158',
    950: '#000000',
  },
}
SCSS
$custom: #f3d158;
$custom-light: #fbde8c;
$custom-dark: #000000;
JSON
{
  "hex": "#f3d158",
  "rgb": {
    "r": 243,
    "g": 209,
    "b": 88
  },
  "hsl": {
    "h": 46.839,
    "s": 86.592,
    "l": 64.902
  },
  "oklch": {
    "l": 0.86745,
    "c": 0.14278,
    "h": 93.4
  },
  "luminance": 0.6536
}

Semantic roles & 50–950 ramp

primary
#F3D158
secondary
#2F4FC0
accent
#34E302
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F3D158

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

Preview Lab → · Contrast checker → · Palette generator →

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