#CFBE5D#CFBE5D

#CFBE5D is a light, moderate yellow. Relative luminance 0.509; OKLCH L 79.6% C 0.120 H 99.5°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#CFBE5D
RGBrgb(207, 190, 93)
HSLhsl(51, 54%, 59%)
HSVhsv(51, 55%, 81%)
CMYKcmyk(0%, 8.2%, 55.1%, 18.8%)
CIE-LABlab(76.61, -6.26, 50.42)
CIE-LCHlch(76.61, 50.81, 97.08°)
OKLaboklab(79.62% -0.0198 0.118)
OKLCHoklch(79.62% 0.12 99.5)
XYZxyz(46.1230, 50.8844, 17.7460)
Luminance0.5088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBE5D #5D6ECF
analogous
#CF855D #CFBE5D #A7CF5D
triadic
#CFBE5D #5DCFBE #BE5DCF
tetradic
#CFBE5D #5DCF85 #5D6ECF #CF5DA7
square
#CFBE5D #5DCF85 #5D6ECF #CF5DA7
split-complementary
#CFBE5D #5DA7CF #855DCF
monochromatic
#897B29 #B8A537 #CFBE5D #DDD18C #EBE4BB

Accessibility & contrast

On white

1.88
#CFBE5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#CFBE5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBE5D
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBE5D#FFFFFF#000000##000000
##CFBE5D1.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB954
Deuteranopia (green-blind)
#D2C061
Tritanopia (blue-blind)
#DDB2A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfbe5d;
/* rgb */ color: rgb(207, 190, 93);
/* oklch */ color: oklch(79.6% 0.120 99.5);
Tailwind
colors: {
  custom: {
    50: '#e0d18e',
    500: '#cfbe5d',
    950: '#000000',
  },
}
SCSS
$custom: #cfbe5d;
$custom-light: #e0d18e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbe5d",
  "rgb": {
    "r": 207,
    "g": 190,
    "b": 93
  },
  "hsl": {
    "h": 51.053,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.79621,
    "c": 0.11962,
    "h": 99.5
  },
  "luminance": 0.50883
}

Semantic roles & 50–950 ramp

primary
#CFBE5D
secondary
#414C90
accent
#60DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFBE5D

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

Preview Lab → · Contrast checker → · Palette generator →

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