#CFC07F#CFC07F

#CFC07F is a light, moderate yellow. Relative luminance 0.525; OKLCH L 80.5% C 0.086 H 96.7°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#CFC07F
RGBrgb(207, 192, 127)
HSLhsl(49, 45%, 65%)
HSVhsv(49, 39%, 81%)
CMYKcmyk(0%, 7.2%, 38.6%, 18.8%)
CIE-LABlab(77.58, -4.04, 34.68)
CIE-LCHlch(77.58, 34.91, 96.65°)
OKLaboklab(80.53% -0.0101 0.0853)
OKLCHoklch(80.53% 0.086 96.7)
XYZxyz(48.4135, 52.4985, 27.6575)
Luminance0.5250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC07F #7F8ECF
analogous
#CF987F #CFC07F #B6CF7F
triadic
#CFC07F #7FCFC0 #C07FCF
tetradic
#CFC07F #7FCF98 #7F8ECF #CF7FB6
square
#CFC07F #7FCF98 #7F8ECF #CF7FB6
split-complementary
#CFC07F #7FB6CF #987FCF
monochromatic
#9A883A #BEAA52 #CFC07F #E0D6AC #F0ECD8

Accessibility & contrast

On white

1.83
#CFC07F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#CFC07F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC07F
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC07F#FFFFFF#000000##000000
##CFC07F1.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBD7A
Deuteranopia (green-blind)
#D1C281
Tritanopia (blue-blind)
#DBB7B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc07f;
/* rgb */ color: rgb(207, 192, 127);
/* oklch */ color: oklch(80.5% 0.086 96.7);
Tailwind
colors: {
  custom: {
    50: '#dfd2a5',
    500: '#cfc07f',
    950: '#000000',
  },
}
SCSS
$custom: #cfc07f;
$custom-light: #dfd2a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc07f",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 127
  },
  "hsl": {
    "h": 48.75,
    "s": 45.455,
    "l": 65.49
  },
  "oklch": {
    "l": 0.80533,
    "c": 0.08586,
    "h": 96.7
  },
  "luminance": 0.52497
}

Semantic roles & 50–950 ramp

primary
#CFC07F
secondary
#5361A0
accent
#47B92D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC07F

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

Preview Lab → · Contrast checker → · Palette generator →

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