#F0D672#F0D672

#F0D672 is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.8% C 0.124 H 95.1°. Best body text is #000000 at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#F0D672
RGBrgb(240, 214, 114)
HSLhsl(48, 81%, 69%)
HSVhsv(48, 53%, 94%)
CMYKcmyk(0%, 10.8%, 52.5%, 5.9%)
CIE-LABlab(85.92, -3.33, 52.15)
CIE-LCHlch(85.92, 52.25, 93.65°)
OKLaboklab(87.76% -0.011 0.1232)
OKLCHoklch(87.76% 0.124 95.1)
XYZxyz(63.0213, 67.8360, 25.6904)
Luminance0.6783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0D672 #728CF0
analogous
#F09772 #F0D672 #CBF072
triadic
#F0D672 #72F0D6 #D672F0
tetradic
#F0D672 #72F097 #728CF0 #F072CB
square
#F0D672 #72F097 #728CF0 #F072CB
split-complementary
#F0D672 #72CBF0 #9772F0
monochromatic
#D1AB16 #EAC63B #F0D672 #F6E6A9 #FCF6E1

Accessibility & contrast

On white

1.44
#F0D672 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.57
#F0D672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0D672
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0D672#FFFFFF#000000##000000
##F0D6721.001.4414.5714.57
#FFFFFF1.441.0021.0021.00
#00000014.5721.001.001.00
##00000014.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D269
Deuteranopia (green-blind)
#EFDA76
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f0d672;
/* rgb */ color: rgb(240, 214, 114);
/* oklch */ color: oklch(87.8% 0.124 95.1);
Tailwind
colors: {
  custom: {
    50: '#f7e29d',
    500: '#f0d672',
    950: '#000000',
  },
}
SCSS
$custom: #f0d672;
$custom-light: #f7e29d;
$custom-dark: #000000;
JSON
{
  "hex": "#f0d672",
  "rgb": {
    "r": 240,
    "g": 214,
    "b": 114
  },
  "hsl": {
    "h": 47.619,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.87756,
    "c": 0.12368,
    "h": 95.1
  },
  "luminance": 0.67833
}

Semantic roles & 50–950 ramp

primary
#F0D672
secondary
#3D5AC9
accent
#34DD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #F0D672

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

Preview Lab → · Contrast checker → · Palette generator →

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