#CFC07B#CFC07B

#CFC07B is a light, moderate yellow. Relative luminance 0.524; OKLCH L 80.5% C 0.090 H 97.4°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#CFC07B
RGBrgb(207, 192, 123)
HSLhsl(49, 47%, 65%)
HSVhsv(49, 41%, 81%)
CMYKcmyk(0%, 7.2%, 40.6%, 18.8%)
CIE-LABlab(77.52, -4.48, 36.66)
CIE-LCHlch(77.52, 36.94, 96.97°)
OKLaboklab(80.47% -0.0117 0.0896)
OKLCHoklch(80.47% 0.09 97.4)
XYZxyz(48.1579, 52.3963, 26.3118)
Luminance0.5240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC07B #7B8ACF
analogous
#CF967B #CFC07B #B4CF7B
triadic
#CFC07B #7BCFC0 #C07BCF
tetradic
#CFC07B #7BCF96 #7B8ACF #CF7BB4
square
#CFC07B #7BCF96 #7B8ACF #CF7BB4
split-complementary
#CFC07B #7BB4CF #967BCF
monochromatic
#988737 #BFAB4E #CFC07B #DFD5A8 #F0EBD5

Accessibility & contrast

On white

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

On black

11.48
#CFC07B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC07B
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC07B#FFFFFF#000000##000000
##CFC07B1.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBC76
Deuteranopia (green-blind)
#D1C27E
Tritanopia (blue-blind)
#DBB7AF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc07b;
/* rgb */ color: rgb(207, 192, 123);
/* oklch */ color: oklch(80.5% 0.090 97.4);
Tailwind
colors: {
  custom: {
    50: '#dfd2a2',
    500: '#cfc07b',
    950: '#000000',
  },
}
SCSS
$custom: #cfc07b;
$custom-light: #dfd2a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc07b",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 123
  },
  "hsl": {
    "h": 49.286,
    "s": 46.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.80465,
    "c": 0.09041,
    "h": 97.4
  },
  "luminance": 0.52395
}

Semantic roles & 50–950 ramp

primary
#CFC07B
secondary
#505E9E
accent
#45BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC07B

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

Preview Lab → · Contrast checker → · Palette generator →

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