#CFB754#CFB754

#CFB754 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 78.1% C 0.122 H 95.8°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#CFB754
RGBrgb(207, 183, 84)
HSLhsl(48, 56%, 57%)
HSVhsv(48, 59%, 81%)
CMYKcmyk(0%, 11.6%, 59.4%, 18.8%)
CIE-LABlab(74.68, -3.30, 52.43)
CIE-LCHlch(74.68, 52.53, 93.60°)
OKLaboklab(78.07% -0.0123 0.1212)
OKLCHoklch(78.07% 0.122 95.8)
XYZxyz(44.2677, 47.7745, 15.2755)
Luminance0.4777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB754 #546CCF
analogous
#CF7A54 #CFB754 #A9CF54
triadic
#CFB754 #54CFB7 #B754CF
tetradic
#CFB754 #54CF7A #546CCF #CF54A9
square
#CFB754 #54CF7A #546CCF #CF54A9
split-complementary
#CFB754 #54A9CF #7A54CF
monochromatic
#847125 #B39A32 #CFB754 #DCCB84 #EADFB4

Accessibility & contrast

On white

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

On black

10.55
#CFB754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB754
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB754#FFFFFF#000000##000000
##CFB7541.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B34A
Deuteranopia (green-blind)
#CEBB59
Tritanopia (blue-blind)
#DEABA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfb754;
/* rgb */ color: rgb(207, 183, 84);
/* oklch */ color: oklch(78.1% 0.122 95.8);
Tailwind
colors: {
  custom: {
    50: '#e0cc87',
    500: '#cfb754',
    950: '#000000',
  },
}
SCSS
$custom: #cfb754;
$custom-light: #e0cc87;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb754",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 84
  },
  "hsl": {
    "h": 48.293,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.78066,
    "c": 0.12186,
    "h": 95.8
  },
  "luminance": 0.47772
}

Semantic roles & 50–950 ramp

primary
#CFB754
secondary
#A6B0D8
accent
#66DF48
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB754

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

Preview Lab → · Contrast checker → · Palette generator →

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