#CFB757#CFB757

#CFB757 is a light, moderate yellow. Relative luminance 0.478; OKLCH L 78.1% C 0.119 H 95.4°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#CFB757
RGBrgb(207, 183, 87)
HSLhsl(48, 56%, 58%)
HSVhsv(48, 58%, 81%)
CMYKcmyk(0%, 11.6%, 58%, 18.8%)
CIE-LABlab(74.71, -3.08, 51.07)
CIE-LCHlch(74.71, 51.16, 93.45°)
OKLaboklab(78.1% -0.0113 0.1187)
OKLCHoklch(78.1% 0.119 95.4)
XYZxyz(44.3877, 47.8225, 15.9076)
Luminance0.4782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB757 #576FCF
analogous
#CF7B57 #CFB757 #ABCF57
triadic
#CFB757 #57CFB7 #B757CF
tetradic
#CFB757 #57CF7B #576FCF #CF57AB
square
#CFB757 #57CF7B #576FCF #CF57AB
split-complementary
#CFB757 #57ABCF #7B57CF
monochromatic
#857226 #B59B34 #CFB757 #DDCB87 #EAE0B6

Accessibility & contrast

On white

1.99
#CFB757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#CFB757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB757
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB757#FFFFFF#000000##000000
##CFB7571.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B34D
Deuteranopia (green-blind)
#CEBB5B
Tritanopia (blue-blind)
#DEABA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfb757;
/* rgb */ color: rgb(207, 183, 87);
/* oklch */ color: oklch(78.1% 0.119 95.4);
Tailwind
colors: {
  custom: {
    50: '#e0cc89',
    500: '#cfb757',
    950: '#000000',
  },
}
SCSS
$custom: #cfb757;
$custom-light: #e0cc89;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb757",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 87
  },
  "hsl": {
    "h": 48,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.781,
    "c": 0.11922,
    "h": 95.4
  },
  "luminance": 0.4782
}

Semantic roles & 50–950 ramp

primary
#CFB757
secondary
#A9B2D9
accent
#67DF49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB757

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

Preview Lab → · Contrast checker → · Palette generator →

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