#CFBE5F#CFBE5F

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

Color values

HEX#CFBE5F
RGBrgb(207, 190, 95)
HSLhsl(51, 54%, 59%)
HSVhsv(51, 54%, 81%)
CMYKcmyk(0%, 8.2%, 54.1%, 18.8%)
CIE-LABlab(76.63, -6.10, 49.50)
CIE-LCHlch(76.63, 49.87, 97.03°)
OKLaboklab(79.65% -0.0191 0.1162)
OKLCHoklch(79.65% 0.118 99.3)
XYZxyz(46.2127, 50.9203, 18.2186)
Luminance0.5092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBE5F #5F70CF
analogous
#CF865F #CFBE5F #A8CF5F
triadic
#CFBE5F #5FCFBE #BE5FCF
tetradic
#CFBE5F #5FCF86 #5F70CF #CF5FA8
square
#CFBE5F #5FCF86 #5F70CF #CF5FA8
split-complementary
#CFBE5F #5FA8CF #865FCF
monochromatic
#8A7B29 #B9A638 #CFBE5F #DDD18E #EBE4BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFBE5F#FFFFFF#000000##000000
##CFBE5F1.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)
#CDB956
Deuteranopia (green-blind)
#D2C063
Tritanopia (blue-blind)
#DDB2A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfbe5f;
/* rgb */ color: rgb(207, 190, 95);
/* oklch */ color: oklch(79.6% 0.118 99.3);
Tailwind
colors: {
  custom: {
    50: '#e0d18f',
    500: '#cfbe5f',
    950: '#000000',
  },
}
SCSS
$custom: #cfbe5f;
$custom-light: #e0d18f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbe5f",
  "rgb": {
    "r": 207,
    "g": 190,
    "b": 95
  },
  "hsl": {
    "h": 50.893,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.79646,
    "c": 0.11774,
    "h": 99.3
  },
  "luminance": 0.50919
}

Semantic roles & 50–950 ramp

primary
#CFBE5F
secondary
#414E91
accent
#61DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #CFBE5F

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

Preview Lab → · Contrast checker → · Palette generator →

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