#F0CE7D#F0CE7D

#F0CE7D is a very light, moderate orange. Relative luminance 0.641; OKLCH L 86.3% C 0.107 H 87.4°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#F0CE7D
RGBrgb(240, 206, 125)
HSLhsl(42, 79%, 72%)
HSVhsv(42, 48%, 94%)
CMYKcmyk(0%, 14.2%, 47.9%, 5.9%)
CIE-LABlab(84.04, 1.73, 44.51)
CIE-LCHlch(84.04, 44.54, 87.78°)
OKLaboklab(86.32% 0.0049 0.1072)
OKLCHoklch(86.32% 0.107 87.4)
XYZxyz(61.7103, 64.1514, 28.5300)
Luminance0.6415 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CE7D #7D9FF0
analogous
#F0957D #F0CE7D #D9F07D
triadic
#F0CE7D #7DF0CE #CE7DF0
tetradic
#F0CE7D #7DF095 #7D9FF0 #F07DD9
square
#F0CE7D #7DF095 #7D9FF0 #F07DD9
split-complementary
#F0CE7D #7DD9F0 #957DF0
monochromatic
#DAA119 #EAB946 #F0CE7D #F6E3B4 #FCF5E4

Accessibility & contrast

On white

1.52
#F0CE7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.83
#F0CE7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CE7D
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CE7D#FFFFFF#000000##000000
##F0CE7D1.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCC76
Deuteranopia (green-blind)
#E8D580
Tritanopia (blue-blind)
#FFC2BA
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #f0ce7d;
/* rgb */ color: rgb(240, 206, 125);
/* oklch */ color: oklch(86.3% 0.107 87.4);
Tailwind
colors: {
  custom: {
    50: '#f7dca4',
    500: '#f0ce7d',
    950: '#000000',
  },
}
SCSS
$custom: #f0ce7d;
$custom-light: #f7dca4;
$custom-dark: #000000;
JSON
{
  "hex": "#f0ce7d",
  "rgb": {
    "r": 240,
    "g": 206,
    "b": 125
  },
  "hsl": {
    "h": 42.261,
    "s": 79.31,
    "l": 71.569
  },
  "oklch": {
    "l": 0.86317,
    "c": 0.10728,
    "h": 87.4
  },
  "luminance": 0.64149
}

Semantic roles & 50–950 ramp

primary
#F0CE7D
secondary
#476ECA
accent
#48DC0A
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #F0CE7D

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

Preview Lab → · Contrast checker → · Palette generator →

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