#CFB758#CFB758

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

Color values

HEX#CFB758
RGBrgb(207, 183, 88)
HSLhsl(48, 55%, 58%)
HSVhsv(48, 57%, 81%)
CMYKcmyk(0%, 11.6%, 57.5%, 18.8%)
CIE-LABlab(74.72, -3.01, 50.61)
CIE-LCHlch(74.72, 50.70, 93.40°)
OKLaboklab(78.11% -0.011 0.1178)
OKLCHoklch(78.11% 0.118 95.3)
XYZxyz(44.4288, 47.8390, 16.1242)
Luminance0.4784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB758 #5870CF
analogous
#CF7B58 #CFB758 #ACCF58
triadic
#CFB758 #58CFB7 #B758CF
tetradic
#CFB758 #58CF7B #5870CF #CF58AC
square
#CFB758 #58CF7B #5870CF #CF58AC
split-complementary
#CFB758 #58ACCF #7B58CF
monochromatic
#867327 #B69C34 #CFB758 #DDCB88 #EAE0B7

Accessibility & contrast

On white

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

On black

10.57
#CFB758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB758
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB758#FFFFFF#000000##000000
##CFB7581.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfb758;
/* rgb */ color: rgb(207, 183, 88);
/* oklch */ color: oklch(78.1% 0.118 95.3);
Tailwind
colors: {
  custom: {
    50: '#e0cc8a',
    500: '#cfb758',
    950: '#000000',
  },
}
SCSS
$custom: #cfb758;
$custom-light: #e0cc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb758",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 88
  },
  "hsl": {
    "h": 47.899,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.78111,
    "c": 0.11832,
    "h": 95.3
  },
  "luminance": 0.47837
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFB758

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

Preview Lab → · Contrast checker → · Palette generator →

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