#CFB357#CFB357

#CFB357 is a light, moderate yellow. Relative luminance 0.462; OKLCH L 77.3% C 0.116 H 92.6°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#CFB357
RGBrgb(207, 179, 87)
HSLhsl(46, 56%, 58%)
HSVhsv(46, 58%, 81%)
CMYKcmyk(0%, 13.5%, 58%, 18.8%)
CIE-LABlab(73.67, -0.98, 49.87)
CIE-LCHlch(73.67, 49.88, 91.13°)
OKLaboklab(77.28% -0.0052 0.1161)
OKLCHoklch(77.28% 0.116 92.6)
XYZxyz(43.5744, 46.1959, 15.6365)
Luminance0.4619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB357 #5773CF
analogous
#CF7757 #CFB357 #AFCF57
triadic
#CFB357 #57CFB3 #B357CF
tetradic
#CFB357 #57CF77 #5773CF #CF57AF
square
#CFB357 #57CF77 #5773CF #CF57AF
split-complementary
#CFB357 #57AFCF #7757CF
monochromatic
#856F26 #B59734 #CFB357 #DDC987 #EADEB6

Accessibility & contrast

On white

2.05
#CFB357 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#CFB357 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB357
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB357#FFFFFF#000000##000000
##CFB3571.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B04E
Deuteranopia (green-blind)
#CBB95B
Tritanopia (blue-blind)
#DEA79E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfb357;
/* rgb */ color: rgb(207, 179, 87);
/* oklch */ color: oklch(77.3% 0.116 92.6);
Tailwind
colors: {
  custom: {
    50: '#e0c989',
    500: '#cfb357',
    950: '#000000',
  },
}
SCSS
$custom: #cfb357;
$custom-light: #e0c989;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb357",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 87
  },
  "hsl": {
    "h": 46,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.77277,
    "c": 0.11624,
    "h": 92.6
  },
  "luminance": 0.46194
}

Semantic roles & 50–950 ramp

primary
#CFB357
secondary
#A9B4D9
accent
#6CDF49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB357

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

Preview Lab → · Contrast checker → · Palette generator →

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