#CFB457#CFB457

#CFB457 is a light, moderate yellow. Relative luminance 0.466; OKLCH L 77.5% C 0.117 H 93.3°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#CFB457
RGBrgb(207, 180, 87)
HSLhsl(47, 56%, 58%)
HSVhsv(47, 58%, 81%)
CMYKcmyk(0%, 13%, 58%, 18.8%)
CIE-LABlab(73.93, -1.51, 50.17)
CIE-LCHlch(73.93, 50.19, 91.72°)
OKLaboklab(77.48% -0.0068 0.1168)
OKLCHoklch(77.48% 0.117 93.3)
XYZxyz(43.7755, 46.5982, 15.7035)
Luminance0.4660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB457 #5772CF
analogous
#CF7857 #CFB457 #AECF57
triadic
#CFB457 #57CFB4 #B457CF
tetradic
#CFB457 #57CF78 #5772CF #CF57AE
square
#CFB457 #57CF78 #5772CF #CF57AE
split-complementary
#CFB457 #57AECF #7857CF
monochromatic
#857026 #B59834 #CFB457 #DDC987 #EADFB6

Accessibility & contrast

On white

2.04
#CFB457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.32
#CFB457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB457
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB457#FFFFFF#000000##000000
##CFB4571.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B14E
Deuteranopia (green-blind)
#CBB95B
Tritanopia (blue-blind)
#DEA89F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfb457;
/* rgb */ color: rgb(207, 180, 87);
/* oklch */ color: oklch(77.5% 0.117 93.3);
Tailwind
colors: {
  custom: {
    50: '#e0ca89',
    500: '#cfb457',
    950: '#000000',
  },
}
SCSS
$custom: #cfb457;
$custom-light: #e0ca89;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb457",
  "rgb": {
    "r": 207,
    "g": 180,
    "b": 87
  },
  "hsl": {
    "h": 46.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.77482,
    "c": 0.11696,
    "h": 93.3
  },
  "luminance": 0.46596
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFB457

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

Preview Lab → · Contrast checker → · Palette generator →

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