#F0CD7F#F0CD7F

#F0CD7F is a very light, moderate orange. Relative luminance 0.637; OKLCH L 86.2% C 0.105 H 86.1°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#F0CD7F
RGBrgb(240, 205, 127)
HSLhsl(41, 79%, 72%)
HSVhsv(41, 47%, 94%)
CMYKcmyk(0%, 14.6%, 47.1%, 5.9%)
CIE-LABlab(83.82, 2.43, 43.23)
CIE-LCHlch(83.82, 43.30, 86.78°)
OKLaboklab(86.15% 0.0071 0.1044)
OKLCHoklch(86.15% 0.105 86.1)
XYZxyz(61.5994, 63.7231, 29.1297)
Luminance0.6372 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0CD7F #7FA2F0
analogous
#F0957F #F0CD7F #DBF07F
triadic
#F0CD7F #7FF0CD #CD7FF0
tetradic
#F0CD7F #7FF095 #7FA2F0 #F07FDB
square
#F0CD7F #7FF095 #7FA2F0 #F07FDB
split-complementary
#F0CD7F #7FDBF0 #957FF0
monochromatic
#DB9F1A #EAB848 #F0CD7F #F6E2B6 #FCF4E4

Accessibility & contrast

On white

1.53
#F0CD7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.74
#F0CD7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0CD7F
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0CD7F#FFFFFF#000000##000000
##F0CD7F1.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECC79
Deuteranopia (green-blind)
#E7D582
Tritanopia (blue-blind)
#FFC1BA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #f0cd7f;
/* rgb */ color: rgb(240, 205, 127);
/* oklch */ color: oklch(86.2% 0.105 86.1);
Tailwind
colors: {
  custom: {
    50: '#f7dca5',
    500: '#f0cd7f',
    950: '#000000',
  },
}
SCSS
$custom: #f0cd7f;
$custom-light: #f7dca5;
$custom-dark: #000000;
JSON
{
  "hex": "#f0cd7f",
  "rgb": {
    "r": 240,
    "g": 205,
    "b": 127
  },
  "hsl": {
    "h": 41.416,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.8615,
    "c": 0.10467,
    "h": 86.1
  },
  "luminance": 0.6372
}

Semantic roles & 50–950 ramp

primary
#F0CD7F
secondary
#4971CB
accent
#4BDB0A
background
#FFFEFC
surface
#FFFBF6
border
#D7D4D0
text
#17150F
muted
#858480

Preview Lab

Preview with #F0CD7F

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

Preview Lab → · Contrast checker → · Palette generator →

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